]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
normalized PG test schema name to "alt_schema"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 26 May 2007 19:51:35 +0000 (19:51 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 26 May 2007 19:51:35 +0000 (19:51 +0000)
test/engine/reflection.py

index 53aa10ba826d60a61d6ee271e2b94f3bce5a874d..ea26bb64db90eee51d8944da46460d67a9e813f4 100644 (file)
@@ -519,26 +519,26 @@ class SchemaTest(PersistTest):
     
     @testbase.supported('postgres')
     def testpg(self):
-        """note: this test requires that the 'test_schema' schema be separate and accessible by the test user"""
+        """note: this test requires that the 'alt_schema' schema be separate and accessible by the test user"""
         
         meta1 = BoundMetaData(testbase.db)
         users = Table('users', meta1,
             Column('user_id', Integer, primary_key = True),
             Column('user_name', String(30), nullable = False),
-            schema="test_schema"
+            schema="alt_schema"
             )
 
         addresses = Table('email_addresses', meta1,
             Column('address_id', Integer, primary_key = True),
             Column('remote_user_id', Integer, ForeignKey(users.c.user_id)),
             Column('email_address', String(20)),
-            schema="test_schema"
+            schema="alt_schema"
         )
         meta1.create_all()
         try:
             meta2 = BoundMetaData(testbase.db)
-            addresses = Table('email_addresses', meta2, autoload=True, schema="test_schema")
-            users = Table('users', meta2, mustexist=True, schema="test_schema")
+            addresses = Table('email_addresses', meta2, autoload=True, schema="alt_schema")
+            users = Table('users', meta2, mustexist=True, schema="alt_schema")
 
             print users
             print addresses