summaryrefslogtreecommitdiff
path: root/test/dialect/test_sqlite.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/dialect/test_sqlite.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/dialect/test_sqlite.py')
-rw-r--r--test/dialect/test_sqlite.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py
index fb98d2f0a..991700e94 100644
--- a/test/dialect/test_sqlite.py
+++ b/test/dialect/test_sqlite.py
@@ -11,7 +11,7 @@ from sqlalchemy.engine.url import make_url
from test.lib import *
import os
-class TestTypes(TestBase, AssertsExecutionResults):
+class TestTypes(fixtures.TestBase, AssertsExecutionResults):
__only_on__ = 'sqlite'
@@ -168,7 +168,7 @@ class TestTypes(TestBase, AssertsExecutionResults):
assert isinstance(t2.c.y.type, sqltypes.NullType)
-class TestDefaults(TestBase, AssertsExecutionResults):
+class TestDefaults(fixtures.TestBase, AssertsExecutionResults):
__only_on__ = 'sqlite'
@@ -220,7 +220,7 @@ class TestDefaults(TestBase, AssertsExecutionResults):
db.execute('DROP TABLE r_defaults')
-class DialectTest(TestBase, AssertsExecutionResults):
+class DialectTest(fixtures.TestBase, AssertsExecutionResults):
__only_on__ = 'sqlite'
@@ -375,7 +375,7 @@ class DialectTest(TestBase, AssertsExecutionResults):
meta.drop_all()
-class SQLTest(TestBase, AssertsCompiledSQL):
+class SQLTest(fixtures.TestBase, AssertsCompiledSQL):
"""Tests SQLite-dialect specific compilation."""
@@ -452,7 +452,7 @@ class SQLTest(TestBase, AssertsCompiledSQL):
)
-class InsertTest(TestBase, AssertsExecutionResults):
+class InsertTest(fixtures.TestBase, AssertsExecutionResults):
"""Tests inserts and autoincrement."""
@@ -535,7 +535,7 @@ def full_text_search_missing():
return True
-class MatchTest(TestBase, AssertsCompiledSQL):
+class MatchTest(fixtures.TestBase, AssertsCompiledSQL):
__only_on__ = 'sqlite'
__skip_if__ = full_text_search_missing,
@@ -618,7 +618,7 @@ class MatchTest(TestBase, AssertsCompiledSQL):
eq_([1, 3], [r.id for r in results])
-class AutoIncrementTest(TestBase, AssertsCompiledSQL):
+class AutoIncrementTest(fixtures.TestBase, AssertsCompiledSQL):
def test_sqlite_autoincrement(self):
table = Table('autoinctable', MetaData(), Column('id', Integer,