]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
adjustment to table_names test such that the DB can have extra tables around
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Aug 2007 15:10:42 +0000 (15:10 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 14 Aug 2007 15:10:42 +0000 (15:10 +0000)
test/engine/reflection.py

index 97bf4bab9b7b1856d9c143498db7a8df45de0a41..da6f75149b82e91930cfe820469143c57ff1bc64 100644 (file)
@@ -651,7 +651,7 @@ class UnicodeTest(PersistTest):
             metadata.create_all()
 
             reflected = set(bind.table_names())
-            if reflected != names:
+            if not names.issubset(reflected):
                 # Python source files in the utf-8 coding seem to normalize
                 # literals as NFC (and the above are explicitly NFC).  Maybe
                 # this database normalizes NFD on reflection.