From: Lele Gaifax Date: Tue, 18 Dec 2007 13:03:55 +0000 (+0000) Subject: Add Firebird to the list of DBs that needs explicit sequences X-Git-Tag: rel_0_4_2~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c1e57879d316461bef0dc183ebb50b6aa9496e1;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add Firebird to the list of DBs that needs explicit sequences --- diff --git a/test/testlib/testing.py b/test/testlib/testing.py index d5fb3b4e5d..63b1cba70b 100644 --- a/test/testlib/testing.py +++ b/test/testlib/testing.py @@ -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)