diff options
author | Rafi Shamim <rafi@cockroachlabs.com> | 2020-07-09 10:35:33 -0400 |
---|---|---|
committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2020-07-09 10:35:33 -0400 |
commit | 35f7fda3eb214b9e6172852bb00f44ccab53886b (patch) | |
tree | c711d02d63b6fd49df65ab884c9eda7df007a607 /lib/sqlalchemy/testing/assertions.py | |
parent | e2d4b2e72cb97bc5612fa9d1ec7d0ab15d38efe1 (diff) | |
download | sqlalchemy-35f7fda3eb214b9e6172852bb00f44ccab53886b.tar.gz |
Improvements to test_computed_col_default_not_set
<!-- Provide a general summary of your proposed changes in the Title field above -->
### Description
<!-- Describe your changes in detail -->
- Update the test so it looks at computed_default_table instead of
computed_column_table.
- Stop inspecting autoincrement; instead directly check for
default/non-default values for the relevant columns.
Fixes: #5414
### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)
-->
This pull request is:
- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [x] A short code fix
- please include the issue number, and create an issue if none exists, which
must include a complete example of the issue. one line code fixes without an
issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests. one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.
**Have a nice day!**
Closes: #5417
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5417
Pull-request-sha: 5918af6abb991e6d2322ea4252e56d456da628dc
Change-Id: Id9484ae7f297735345016be5b7461325825503da
Diffstat (limited to 'lib/sqlalchemy/testing/assertions.py')
0 files changed, 0 insertions, 0 deletions