summaryrefslogtreecommitdiff
path: root/test/profiling/compiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/profiling/compiler.py')
-rw-r--r--test/profiling/compiler.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/profiling/compiler.py b/test/profiling/compiler.py
index 9395fb927..58533f700 100644
--- a/test/profiling/compiler.py
+++ b/test/profiling/compiler.py
@@ -1,4 +1,4 @@
-import testbase
+import testenv; testenv.configure_for_tests()
from sqlalchemy import *
from testlib import *
@@ -15,20 +15,20 @@ class CompileTest(AssertMixin):
Column('c1', Integer, primary_key=True),
Column('c2', String(30)))
- @profiling.profiled('ctest_insert', call_range=(40, 50), always=True)
+ @profiling.profiled('ctest_insert', call_range=(40, 50), always=True)
def test_insert(self):
t1.insert().compile()
- @profiling.profiled('ctest_update', call_range=(40, 50), always=True)
+ @profiling.profiled('ctest_update', call_range=(40, 50), always=True)
def test_update(self):
t1.update().compile()
# TODO: this is alittle high
- @profiling.profiled('ctest_select', call_range=(110, 140), always=True)
+ @profiling.profiled('ctest_select', call_range=(110, 140), always=True)
def test_select(self):
s = select([t1], t1.c.c2==t2.c.c1)
s.compile()
-
-
+
+
if __name__ == '__main__':
- testbase.main()
+ testenv.main()