summaryrefslogtreecommitdiff
path: root/test/perf
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-06-02 21:42:14 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-06-02 21:42:14 +0000
commit31b95e6cdce83e14cd1c462c2b7d16a0f8652d19 (patch)
treed94479badf38b0ff7f76db598ecffe8eb3c6d06d /test/perf
parente83a1a20f960f99dafbe65c7c277d02af1baa20e (diff)
downloadsqlalchemy-31b95e6cdce83e14cd1c462c2b7d16a0f8652d19.tar.gz
- removed test.testing.ORMTest, test.fixtures, and all
dependencies on those.
Diffstat (limited to 'test/perf')
-rw-r--r--test/perf/sessions.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/perf/sessions.py b/test/perf/sessions.py
index c5f768653..f4be1ee93 100644
--- a/test/perf/sessions.py
+++ b/test/perf/sessions.py
@@ -1,10 +1,11 @@
import testenv; testenv.configure_for_tests()
from sqlalchemy import *
from sqlalchemy.orm import *
-from testlib import *
-from testlib import fixtures
import gc
+from testlib import TestBase, AssertsExecutionResults, profiling, testing
+from orm import _fixtures
+
# in this test we are specifically looking for time spent in the attributes.InstanceState.__cleanup() method.
ITERATIONS = 100
@@ -35,9 +36,9 @@ class SessionTest(TestBase, AssertsExecutionResults):
l.append({'c2':'this is t2 #%d' % y, 't1id':x})
t2.insert().execute(*l)
- class T1(fixtures.Base):
+ class T1(_fixtures.Base):
pass
- class T2(fixtures.Base):
+ class T2(_fixtures.Base):
pass
mapper(T1, t1, properties={