diff options
| author | Jason Kirtland <jek@discorporate.us> | 2008-01-12 22:03:42 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2008-01-12 22:03:42 +0000 |
| commit | 17d3c8764e020379e54053bca0b0a2bc71d48aa0 (patch) | |
| tree | 0b46f1ddc57292b8f5bfbc28ab1679230f63e426 /test/sql/select.py | |
| parent | c194962019d1bc7322e20b82c33aa1bab3bc2a28 (diff) | |
| download | sqlalchemy-17d3c8764e020379e54053bca0b0a2bc71d48aa0.tar.gz | |
- testbase is gone, replaced by testenv
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts
Diffstat (limited to 'test/sql/select.py')
| -rw-r--r-- | test/sql/select.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/select.py b/test/sql/select.py index 4c15bfb1b..07c3ce69e 100644 --- a/test/sql/select.py +++ b/test/sql/select.py @@ -1,4 +1,4 @@ -import testbase +import testenv; testenv.configure_for_tests() import re, operator from sqlalchemy import * from sqlalchemy import exceptions, sql, util @@ -451,7 +451,7 @@ sq.myothertable_othername AS sq_myothertable_othername FROM (" + sqstring + ") A clause = (table1.c.myid == 12) & table1.c.myid.between(15, 20) & table1.c.myid.like('hoho') assert str(clause) == str(util.pickle.loads(util.pickle.dumps(clause))) - + def testextracomparisonoperators(self): self.assert_compile( @@ -1413,4 +1413,4 @@ class SchemaTest(SQLCompileTest): "(:rem_id, :datatype_id, :value)") if __name__ == "__main__": - testbase.main() + testenv.main() |
