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 /test | |
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 'test')
-rw-r--r-- | test/requirements.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/requirements.py b/test/requirements.py index ee3bb2db5..4fcf541e3 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -265,6 +265,13 @@ class DefaultRequirements(SuiteRequirements): 'pypostgresql bombs on multiple isolation level calls') @property + def autocommit(self): + """target dialect supports 'AUTOCOMMIT' as an isolation_level""" + return only_on( + ('postgresql', 'mysql'), + "dialect does not support AUTOCOMMIT isolation mode") + + @property def row_triggers(self): """Target must support standard statement-running EACH ROW triggers.""" |