diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-11 00:28:39 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-02-11 00:28:39 +0000 |
| commit | c0b5a0446bf63bdac664421f49742f1156c1911a (patch) | |
| tree | 9d7822f91325d23e512e77701c9f1280d968ea20 /test/sql/query.py | |
| parent | 90c572b513fb33cb5cd17134efb6018abc76bb1f (diff) | |
| download | sqlalchemy-c0b5a0446bf63bdac664421f49742f1156c1911a.tar.gz | |
- updated the naming scheme of the base test classes in test/testlib/testing.py;
tests extend from either TestBase or ORMTest, using additional mixins for
special assertion methods as needed
Diffstat (limited to 'test/sql/query.py')
| -rw-r--r-- | test/sql/query.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/sql/query.py b/test/sql/query.py index 19d11a2f1..533f40fb5 100644 --- a/test/sql/query.py +++ b/test/sql/query.py @@ -6,7 +6,7 @@ from sqlalchemy.engine import default from testlib import * -class QueryTest(PersistTest): +class QueryTest(TestBase): def setUpAll(self): global users, addresses, metadata @@ -557,7 +557,7 @@ class QueryTest(PersistTest): assert len(r) == 1 -class CompoundTest(PersistTest): +class CompoundTest(TestBase): """test compound statements like UNION, INTERSECT, particularly their ability to nest on different databases.""" def setUpAll(self): @@ -755,7 +755,7 @@ class CompoundTest(PersistTest): self.assertEquals(found, wanted) -class JoinTest(PersistTest): +class JoinTest(TestBase): """Tests join execution. The compiled SQL emitted by the dialect might be ANSI joins or @@ -1025,7 +1025,7 @@ class JoinTest(PersistTest): self.assertRows(expr, [(10, 20, 30)]) -class OperatorTest(PersistTest): +class OperatorTest(TestBase): def setUpAll(self): global metadata, flds metadata = MetaData(testing.db) |
