]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Corrected a UOW DefaultTest for mssql because it requires the identity column setup.
authorMichael Trier <mtrier@gmail.com>
Fri, 2 Jan 2009 18:25:00 +0000 (18:25 +0000)
committerMichael Trier <mtrier@gmail.com>
Fri, 2 Jan 2009 18:25:00 +0000 (18:25 +0000)
test/orm/unitofwork.py

index 45ecc66e15606daa32a945ff39fdb6779cfb0531..504ab7d82386485f9b4a785ed126fe4ed8118887 100644 (file)
@@ -866,7 +866,7 @@ class DefaultTest(_base.MappedTest):
             Column('id', Integer, primary_key=True),
             Column('data', String(50)))
 
-        if testing.against('postgres', 'oracle'):
+        if testing.against('postgres', 'oracle', 'mssql'):
             dt.append_column(
                 Column('secondary_id', Integer, sa.Sequence('sec_id_seq'),
                        unique=True))