summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-11-18 03:01:49 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-11-18 03:01:49 -0500
commit0f56aa56c5de13ab14bd8e8d03b6e785c39a5bf0 (patch)
tree863d0645be34500fd34bb8613d63333f87a3d41b
parent8d9620a0467e8400848cf498e362039db103340c (diff)
downloadsqlalchemy-0f56aa56c5de13ab14bd8e8d03b6e785c39a5bf0.tar.gz
need to disable hstore for the "player" here. should really get rid of the recorder/player thing
at this point
-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()