From 20cdc64588b0f6ae52f8380c11d0ed848005377b Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 27 Sep 2012 02:37:33 -0400 Subject: trying different approaches to test layout. in this one, the testing modules become an externally usable package but still remains within the main sqlalchemy parent package. in this system, we use kind of an ugly hack to get the noseplugin imported outside of the "sqlalchemy" package, while still making it available within sqlalchemy for usage by third party libraries. --- test/sql/test_selectable.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/sql/test_selectable.py') diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index b81bd8e6f..374147a1b 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -1,14 +1,16 @@ """Test various algorithmic properties of selectables.""" -from test.lib.testing import eq_, assert_raises, \ +from sqlalchemy.testing import eq_, assert_raises, \ assert_raises_message, is_ from sqlalchemy import * -from test.lib import * +from sqlalchemy.testing import fixtures, AssertsCompiledSQL, \ + AssertsExecutionResults +from sqlalchemy import testing from sqlalchemy.sql import util as sql_util, visitors from sqlalchemy import exc from sqlalchemy.sql import table, column, null from sqlalchemy import util -from test.lib import fixtures +from sqlalchemy.testing import fixtures metadata = MetaData() table1 = Table('table1', metadata, -- cgit v1.2.1