diff options
Diffstat (limited to 'test/sql/test_query.py')
-rw-r--r-- | test/sql/test_query.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py index 039e8d7e5..23f6da029 100644 --- a/test/sql/test_query.py +++ b/test/sql/test_query.py @@ -1625,7 +1625,7 @@ class KeyTargetingTest(fixtures.TablesTest): 'wschema', metadata, Column("a", CHAR(2), key="b"), Column("c", CHAR(2), key="q"), - schema="test_schema" + schema=testing.config.test_schema ) @classmethod @@ -1637,12 +1637,12 @@ class KeyTargetingTest(fixtures.TablesTest): cls.tables.content.insert().execute(type="t1") if testing.requires.schemas.enabled: - cls.tables['test_schema.wschema'].insert().execute( + cls.tables['%s.wschema' % testing.config.test_schema].insert().execute( dict(b="a1", q="c1")) @testing.requires.schemas def test_keyed_accessor_wschema(self): - keyed1 = self.tables['test_schema.wschema'] + keyed1 = self.tables['%s.wschema' % testing.config.test_schema] row = testing.db.execute(keyed1.select()).first() eq_(row.b, "a1") |