summaryrefslogtreecommitdiff
path: root/test/aaa_profiling
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-08-30 00:11:32 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-08-30 00:11:32 -0400
commit51c7005dc5cc04a9ed24fbfa290e50df6fb70369 (patch)
treec24d94cf58b9f23e72d8e0685bd87f0b4ed7c869 /test/aaa_profiling
parent04f0e11051f0f00cbb64dd37dfa287e6173463ba (diff)
downloadsqlalchemy-51c7005dc5cc04a9ed24fbfa290e50df6fb70369.tar.gz
- clean up zoomark a little and try to get new profiles written
Diffstat (limited to 'test/aaa_profiling')
-rw-r--r--test/aaa_profiling/test_zoomark.py6
-rw-r--r--test/aaa_profiling/test_zoomark_orm.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py
index 5b8a0f785..5627ef8e0 100644
--- a/test/aaa_profiling/test_zoomark.py
+++ b/test/aaa_profiling/test_zoomark.py
@@ -22,7 +22,6 @@ class ZooMarkTest(replay_fixture.ReplayFixtureTest):
__only_on__ = 'postgresql+psycopg2'
def _run_steps(self, ctx):
- self._baseline_1_create_tables()
with ctx():
self._baseline_1a_populate()
with ctx():
@@ -37,6 +36,11 @@ class ZooMarkTest(replay_fixture.ReplayFixtureTest):
self._baseline_6_editing()
with ctx():
self._baseline_7_multiview()
+
+ def setup_engine(self):
+ self._baseline_1_create_tables()
+
+ def teardown_engine(self):
self._baseline_8_drop()
def _baseline_1_create_tables(self):
diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py
index 500d7c2cb..dece30d65 100644
--- a/test/aaa_profiling/test_zoomark_orm.py
+++ b/test/aaa_profiling/test_zoomark_orm.py
@@ -28,7 +28,6 @@ class ZooMarkTest(replay_fixture.ReplayFixtureTest):
__only_on__ = 'postgresql+psycopg2'
def _run_steps(self, ctx):
- #self._baseline_1_create_tables()
with ctx():
self._baseline_1a_populate()
with ctx():
@@ -41,7 +40,6 @@ class ZooMarkTest(replay_fixture.ReplayFixtureTest):
self._baseline_5_aggregates()
with ctx():
self._baseline_6_editing()
- #self._baseline_7_drop()
def setup_engine(self):
self._baseline_1_create_tables()