summaryrefslogtreecommitdiff
path: root/test/sql/test_query.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/sql/test_query.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/sql/test_query.py')
-rw-r--r--test/sql/test_query.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/sql/test_query.py b/test/sql/test_query.py
index da5b05d0a..2edf9e72d 100644
--- a/test/sql/test_query.py
+++ b/test/sql/test_query.py
@@ -6,7 +6,7 @@ from sqlalchemy.engine import default, base
from test.lib import *
from test.lib.schema import Table, Column
-class QueryTest(TestBase):
+class QueryTest(fixtures.TestBase):
@classmethod
def setup_class(cls):
@@ -1029,7 +1029,7 @@ class QueryTest(TestBase):
r = s.execute().fetchall()
assert len(r) == 1
-class PercentSchemaNamesTest(TestBase):
+class PercentSchemaNamesTest(fixtures.TestBase):
"""tests using percent signs, spaces in table and column names.
Doesn't pass for mysql, postgresql, but this is really a
@@ -1129,7 +1129,7 @@ class PercentSchemaNamesTest(TestBase):
-class LimitTest(TestBase):
+class LimitTest(fixtures.TestBase):
@classmethod
def setup_class(cls):
@@ -1202,7 +1202,7 @@ class LimitTest(TestBase):
self.assert_(len(r) == 3, repr(r))
self.assert_(r[0] != r[1] and r[1] != r[2], repr(r))
-class CompoundTest(TestBase):
+class CompoundTest(fixtures.TestBase):
"""test compound statements like UNION, INTERSECT, particularly their ability to nest on
different databases."""
@classmethod
@@ -1494,7 +1494,7 @@ class CompoundTest(TestBase):
eq_(found, wanted)
-class JoinTest(TestBase):
+class JoinTest(fixtures.TestBase):
"""Tests join execution.
The compiled SQL emitted by the dialect might be ANSI joins or
@@ -1766,7 +1766,7 @@ class JoinTest(TestBase):
self.assertRows(expr, [(10, 20, 30)])
-class OperatorTest(TestBase):
+class OperatorTest(fixtures.TestBase):
@classmethod
def setup_class(cls):
global metadata, flds