summaryrefslogtreecommitdiff
path: root/test/testlib/schema.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/schema.py')
-rw-r--r--test/testlib/schema.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testlib/schema.py b/test/testlib/schema.py
index 8151508d0..152660380 100644
--- a/test/testlib/schema.py
+++ b/test/testlib/schema.py
@@ -1,4 +1,3 @@
-import testbase
from testlib import testing
schema = None
@@ -18,7 +17,7 @@ def Table(*args, **kw):
kw.update(table_options)
- if testbase.db.name == 'mysql':
+ if testing.against('mysql'):
if 'mysql_engine' not in kw and 'mysql_type' not in kw:
if 'test_needs_fk' in test_opts or 'test_needs_acid' in test_opts:
kw['mysql_engine'] = 'InnoDB'