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/ext/assignmapper.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/ext/assignmapper.py')
-rw-r--r-- | test/ext/assignmapper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ext/assignmapper.py b/test/ext/assignmapper.py index e5db5267c..188e4bdbb 100644 --- a/test/ext/assignmapper.py +++ b/test/ext/assignmapper.py @@ -1,4 +1,4 @@ -import testbase +import testenv; testenv.configure_for_tests() from sqlalchemy import * from sqlalchemy import exceptions from sqlalchemy.orm import create_session, clear_mappers, relation, class_mapper @@ -10,7 +10,7 @@ from testlib import * class AssignMapperTest(PersistTest): def setUpAll(self): global metadata, table, table2 - metadata = MetaData(testbase.db) + metadata = MetaData(testing.db) table = Table('sometable', metadata, Column('id', Integer, primary_key=True), Column('data', String(30))) @@ -80,4 +80,4 @@ class AssignMapperTest(PersistTest): if __name__ == '__main__': - testbase.main() + testenv.main() |