diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-15 19:37:50 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-11-15 19:37:50 -0500 |
commit | e1402efb198f96090833a9b561cdba8dee937f70 (patch) | |
tree | c20dc33466476bbf394e8e19da7a045c8a008d08 /test/bootstrap/config.py | |
parent | 756aa2724e495b8a969bca73d133b27615a343e7 (diff) | |
download | sqlalchemy-e1402efb198f96090833a9b561cdba8dee937f70.tar.gz |
- move sqlalchemy.test to test.lib
Diffstat (limited to 'test/bootstrap/config.py')
-rw-r--r-- | test/bootstrap/config.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bootstrap/config.py b/test/bootstrap/config.py index 7d528a04b..ef37e4f20 100644 --- a/test/bootstrap/config.py +++ b/test/bootstrap/config.py @@ -123,14 +123,14 @@ def _engine_pool(options, file_config): post_configure['engine_pool'] = _engine_pool def _create_testing_engine(options, file_config): - from sqlalchemy.test import engines, testing + from test.lib import engines, testing global db db = engines.testing_engine(db_url, db_opts) testing.db = db post_configure['create_engine'] = _create_testing_engine def _prep_testing_database(options, file_config): - from sqlalchemy.test import engines + from test.lib import engines from sqlalchemy import schema # also create alt schemas etc. here? @@ -152,7 +152,7 @@ def _prep_testing_database(options, file_config): post_configure['prep_db'] = _prep_testing_database def _set_table_options(options, file_config): - from sqlalchemy.test import schema + from test.lib import schema table_options = schema.table_options for spec in options.tableopts: @@ -167,7 +167,7 @@ def _reverse_topological(options, file_config): if options.reversetop: from sqlalchemy.orm import unitofwork, session, mapper, dependency from sqlalchemy import topological - from sqlalchemy.test.util import RandomSet + from test.lib.util import RandomSet topological.set = unitofwork.set = session.set = mapper.set = dependency.set = RandomSet post_configure['topological'] = _reverse_topological |