summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
authorToni Karppi <karppitoni@gmail.com>2019-02-21 14:22:48 -0500
committersqla-tester <sqla-tester@sqlalchemy.org>2019-02-21 14:22:48 -0500
commit40401d7933aa9c241a4f8064085efdd5e25f1dbf (patch)
tree34828af25291bd7b8961765cfb4062e0b147090c /lib/sqlalchemy/engine
parenteed102f4653d9a5af325e993fe3c402d2e600fdc (diff)
downloadsqlalchemy-40401d7933aa9c241a4f8064085efdd5e25f1dbf.tar.gz
Add test to as_interface when no cls or methods
Fixes #4511 ### Description The `as_interface` function requires that an argument be provided for at least one of the parameters `cls` or `methods`. There was no test that tested the case when neither of these arguments were provided. ### 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: #4512 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4512 Pull-request-sha: 156f6af95ede730d2e1a9d2c935c830cf3cfc96e Change-Id: Ifa23dbe1dbe9a824fe680e4947b81c96a50c133f
Diffstat (limited to 'lib/sqlalchemy/engine')
0 files changed, 0 insertions, 0 deletions