summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py6
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'