summaryrefslogtreecommitdiff
path: root/test/perf
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-03-27 16:27:27 -0400
commit68a350d462b6840d6623a89565f8febf3a997830 (patch)
tree4d3ea4d93d14738a1c5a418a37917f80a41cf85e /test/perf
parenta3083eabf467e7f36db0850342758ce162c3eef8 (diff)
downloadsqlalchemy-68a350d462b6840d6623a89565f8febf3a997830.tar.gz
- remove test.sql._base, test.engine._base, test.orm._base, move those classes to a new test.lib.fixtures module
- move testing.TestBase to test.lib.fixtures - massive search and replace
Diffstat (limited to 'test/perf')
-rw-r--r--test/perf/sessions.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/perf/sessions.py b/test/perf/sessions.py
index 3384736a1..75106f6ca 100644
--- a/test/perf/sessions.py
+++ b/test/perf/sessions.py
@@ -2,14 +2,14 @@ from sqlalchemy import *
from sqlalchemy.orm import *
from test.lib.compat import gc_collect
-from test.lib import TestBase, AssertsExecutionResults, profiling, testing
+from test.lib import AssertsExecutionResults, profiling, testing
from test.orm import _fixtures
# in this test we are specifically looking for time spent in the attributes.InstanceState.__cleanup() method.
ITERATIONS = 100
-class SessionTest(TestBase, AssertsExecutionResults):
+class SessionTest(fixtures.TestBase, AssertsExecutionResults):
@classmethod
def setup_class(cls):
global t1, t2, metadata,T1, T2
@@ -36,9 +36,9 @@ class SessionTest(TestBase, AssertsExecutionResults):
l.append({'c2':'this is t2 #%d' % y, 't1id':x})
t2.insert().execute(*l)
- class T1(_base.ComparableEntity):
+ class T1(fixtures.ComparableEntity):
pass
- class T2(_base.ComparableEntity):
+ class T2(fixtures.ComparableEntity):
pass
mapper(T1, t1, properties={