summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/aaa_profiling/test_zoomark.py6
-rw-r--r--test/aaa_profiling/test_zoomark_orm.py3
2 files changed, 6 insertions, 3 deletions
diff --git a/test/aaa_profiling/test_zoomark.py b/test/aaa_profiling/test_zoomark.py
index f4ffb7c62..5fc9ffc2a 100644
--- a/test/aaa_profiling/test_zoomark.py
+++ b/test/aaa_profiling/test_zoomark.py
@@ -34,7 +34,8 @@ class ZooMarkTest(fixtures.TestBase):
global metadata
creator = testing.db.pool._creator
recorder = lambda : dbapi_session.recorder(creator())
- engine = engines.testing_engine(options={'creator': recorder, 'use_reaper':False})
+ engine = engines.testing_engine(options={'creator': recorder,
+ 'use_reaper':False})
metadata = MetaData(engine)
engine.connect()
@@ -362,7 +363,8 @@ class ZooMarkTest(fixtures.TestBase):
def test_profile_0(self):
global metadata
player = lambda : dbapi_session.player()
- engine = create_engine('postgresql:///', creator=player)
+ engine = create_engine('postgresql:///', creator=player,
+ use_native_hstore=False)
metadata = MetaData(engine)
engine.connect()
diff --git a/test/aaa_profiling/test_zoomark_orm.py b/test/aaa_profiling/test_zoomark_orm.py
index 78631b8fa..f8c5477f7 100644
--- a/test/aaa_profiling/test_zoomark_orm.py
+++ b/test/aaa_profiling/test_zoomark_orm.py
@@ -327,7 +327,8 @@ class ZooMarkTest(fixtures.TestBase):
def test_profile_0(self):
global metadata, session
player = lambda : dbapi_session.player()
- engine = create_engine('postgresql:///', creator=player)
+ engine = create_engine('postgresql:///', creator=player,
+ use_native_hstore=False)
metadata = MetaData(engine)
session = sessionmaker(engine)()
engine.connect()