summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-03-18 12:55:56 -0700
committerMike Bayer <mike_mp@zzzcomputing.com>2013-03-18 12:55:56 -0700
commit9ad9ccec87b89023db611d70da2c6d455c29ab60 (patch)
treee2bf9b27826343214ee1c81f4d4ab7a00bfd1efe /test/dialect/test_postgresql.py
parent5b00c6555f67d0837ae64a33077dd87571fc1e0e (diff)
downloadsqlalchemy-9ad9ccec87b89023db611d70da2c6d455c29ab60.tar.gz
0.8.1 bump + test, changelog for hstore fix [ticket:2680]
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py
index 62e855356..005aed1ce 100644
--- a/test/dialect/test_postgresql.py
+++ b/test/dialect/test_postgresql.py
@@ -3101,6 +3101,12 @@ class HStoreRoundTripTest(fixtures.TablesTest):
engine.connect()
return engine
+ def test_reflect(self):
+ from sqlalchemy import inspect
+ insp = inspect(testing.db)
+ cols = insp.get_columns('data_table')
+ assert isinstance(cols[2]['type'], HSTORE)
+
@testing.only_on("postgresql+psycopg2")
def test_insert_native(self):
engine = testing.db