summaryrefslogtreecommitdiff
path: root/test/engine/test_ddlevents.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
commit68a350d462b6840d6623a89565f8febf3a997830 (patch)
tree4d3ea4d93d14738a1c5a418a37917f80a41cf85e /test/engine/test_ddlevents.py
parenta3083eabf467e7f36db0850342758ce162c3eef8 (diff)
downloadsqlalchemy-68a350d462b6840d6623a89565f8febf3a997830.tar.gz
- remove test.sql._base, test.engine._base, test.orm._base, move those classes to a new test.lib.fixtures module
- move testing.TestBase to test.lib.fixtures - massive search and replace
Diffstat (limited to 'test/engine/test_ddlevents.py')
-rw-r--r--test/engine/test_ddlevents.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/engine/test_ddlevents.py b/test/engine/test_ddlevents.py
index 42dc804a5..536325d88 100644
--- a/test/engine/test_ddlevents.py
+++ b/test/engine/test_ddlevents.py
@@ -6,11 +6,13 @@ from sqlalchemy import MetaData, Integer, String, event, exc, text
from test.lib.schema import Table
from test.lib.schema import Column
import sqlalchemy as tsa
-from test.lib import TestBase, testing, engines
+from test.lib import testing, engines
from test.lib.testing import AssertsCompiledSQL, eq_
from nose import SkipTest
+from test.lib import fixtures
-class DDLEventTest(TestBase):
+
+class DDLEventTest(fixtures.TestBase):
class Canary(object):
def __init__(self, schema_item, bind):
self.state = None
@@ -185,7 +187,7 @@ class DDLEventTest(TestBase):
'blah', fn)
-class DDLExecutionTest(TestBase):
+class DDLExecutionTest(fixtures.TestBase):
def setup(self):
self.engine = engines.mock_engine()
self.metadata = MetaData(self.engine)
@@ -427,7 +429,7 @@ class DDLExecutionTest(TestBase):
-class DDLTest(TestBase, AssertsCompiledSQL):
+class DDLTest(fixtures.TestBase, AssertsCompiledSQL):
def mock_engine(self):
executor = lambda *a, **kw: None
engine = create_engine(testing.db.name + '://',