]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add Firebird to the list of DBs that needs explicit sequences
authorLele Gaifax <lele@metapensiero.it>
Tue, 18 Dec 2007 13:03:55 +0000 (13:03 +0000)
committerLele Gaifax <lele@metapensiero.it>
Tue, 18 Dec 2007 13:03:55 +0000 (13:03 +0000)
test/testlib/testing.py

index d5fb3b4e5dd19fee9dc2ef8c679eae1ed48a29bb..63b1cba70bc7df4fefd5b5e8e44e2b5d99e02f0d 100644 (file)
@@ -430,8 +430,7 @@ class AssertMixin(PersistTest):
     def assert_sql(self, db, callable_, list, with_sequences=None):
         global testdata
         testdata = TestData()
-        if with_sequences is not None and (config.db.name == 'postgres' or
-                                           config.db.name == 'oracle'):
+        if with_sequences is not None and config.db.name in ('firebird', 'oracle', 'postgres'):
             testdata.set_assert_list(self, with_sequences)
         else:
             testdata.set_assert_list(self, list)