diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-05-26 19:51:35 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-05-26 19:51:35 +0000 |
| commit | 4004bf6a0a04f75e8a89b584a0e7cb190e4f9ffa (patch) | |
| tree | 5aeca3348dd3592a38d01b7f77716ebe20ae1a7e /test/engine/reflection.py | |
| parent | 379e21038347493be8f4ff2ed2f8a501ce9d4fa3 (diff) | |
| download | sqlalchemy-4004bf6a0a04f75e8a89b584a0e7cb190e4f9ffa.tar.gz | |
normalized PG test schema name to "alt_schema"
Diffstat (limited to 'test/engine/reflection.py')
| -rw-r--r-- | test/engine/reflection.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 53aa10ba8..ea26bb64d 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -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 |
