]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
unit test fix
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Jun 2007 16:53:00 +0000 (16:53 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 15 Jun 2007 16:53:00 +0000 (16:53 +0000)
test/engine/reflection.py

index 532f55e8a9ade7afcb6d8bee6d73c9ddd761ac63..41cd236748a034583b084da53429c56a01833e51 100644 (file)
@@ -245,9 +245,9 @@ class ReflectionTest(PersistTest):
             Column('col1', Integer, Sequence('fooseq')))
         try:
             testbase.db.execute("CREATE SEQUENCE fooseq")
-            t.create()
+            t.create(checkfirst=True)
         finally:
-            t.drop()
+            t.drop(checkfirst=True)
     
     def test_pks_not_uniques(self):
         """test that primary key reflection not tripped up by unique indexes"""