diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2012-11-21 00:26:20 +0200 |
---|---|---|
committer | Audrius Kažukauskas <audrius@neutrino.lt> | 2012-11-21 00:26:20 +0200 |
commit | 64505dcd2871bfe67f682d67df937b713c4213a6 (patch) | |
tree | 59ffe3d522eb5a9ce4255fd6806ef4d9f39640bf /test/dialect/test_postgresql.py | |
parent | 8134f2d0bfadc461b015104ff842f57962d89b0a (diff) | |
download | sqlalchemy-64505dcd2871bfe67f682d67df937b713c4213a6.tar.gz |
HSTORE.comparator_factory should subclass Concatenable.Comparator
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r-- | test/dialect/test_postgresql.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index 46dab3df9..0ca07ef2a 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -2826,6 +2826,7 @@ class HStoreTest(fixtures.TestBase): '"key2"=>"value2", "key1"=>"value1", ' 'crapcrapcrap, "key3"=>"value3"' ) + def test_result_deserialize_default(self): from sqlalchemy.engine import default @@ -2986,8 +2987,8 @@ class HStoreTest(fixtures.TestBase): def test_cols_concat_op(self): self._test_cols( - self.hashcol + self.hashcol, - "test_table.hash || test_table.hash AS anon_1", + hstore('foo', 'bar') + self.hashcol, + "hstore(%(param_1)s, %(param_2)s) || test_table.hash AS anon_1", True ) @@ -3026,6 +3027,7 @@ class HStoreTest(fixtures.TestBase): True ) + class HStoreRoundTripTest(fixtures.TablesTest): __requires__ = 'hstore', __dialect__ = 'postgresql' |