diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-29 13:37:02 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-29 13:37:02 -0400 |
| commit | ec4f567f31856a92bd91144112cd29df356a8ca8 (patch) | |
| tree | d582c8b48aa7214f98f649dcfbd02e5a9234441f /lib/sqlalchemy/testing/requirements.py | |
| parent | 4f342344927f78b429ed7ab4073dd7de956d6d22 (diff) | |
| download | sqlalchemy-ec4f567f31856a92bd91144112cd29df356a8ca8.tar.gz | |
Generalize autocommit testing
To support adding AUTOCOMMIT to more dialects, add a suite
test
Change-Id: I585dcce19fcdce70e8cf21aea4edaa97d7bf2bb9
Diffstat (limited to 'lib/sqlalchemy/testing/requirements.py')
| -rw-r--r-- | lib/sqlalchemy/testing/requirements.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sqlalchemy/testing/requirements.py b/lib/sqlalchemy/testing/requirements.py index 95aef0e17..08a7b1ced 100644 --- a/lib/sqlalchemy/testing/requirements.py +++ b/lib/sqlalchemy/testing/requirements.py @@ -513,6 +513,11 @@ class SuiteRequirements(Requirements): return exclusions.open() @property + def autocommit(self): + """target dialect supports 'AUTOCOMMIT' as an isolation_level""" + return exclusions.closed() + + @property def json_type(self): """target platform implements a native JSON type.""" |
