From 5e7b01166cb7fe01f3e446e24235e0d03544a853 Mon Sep 17 00:00:00 2001 From: Jason Kirtland Date: Thu, 19 Jul 2007 01:23:01 +0000 Subject: [PATCH] Target testcreate schema test better. --- test/engine/reflection.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/engine/reflection.py b/test/engine/reflection.py index d2ee3106cb..760d9bbf5c 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -579,9 +579,12 @@ class SchemaTest(PersistTest): assert buf.index("CREATE TABLE someschema.table1") > -1 assert buf.index("CREATE TABLE someschema.table2") > -1 - @testbase.unsupported('sqlite') + @testbase.supported('mysql','postgres') def testcreate(self): - schema = testbase.db.url.database + if testbase.db.name == 'mysql': + schema = testbase.db.url.database + else: + schema = 'public' metadata = MetaData(testbase.db) table1 = Table('table1', metadata, Column('col1', Integer, primary_key=True), -- 2.47.3