summaryrefslogtreecommitdiff
path: root/test/dialect
diff options
context:
space:
mode:
authorNoufal Ibrahim <noufal@nibrahim.net.in>2013-12-10 00:47:01 +0530
committerNoufal Ibrahim <noufal@nibrahim.net.in>2013-12-10 01:07:53 +0530
commitd3b65cd9bc118a5653246dfa0e179add7249703f (patch)
tree9b5bd3c0b15ac22b4bafc28014d5ea7489aa9f07 /test/dialect
parent892c8762e681502fa0c5f5740a619f17f7848ea7 (diff)
downloadsqlalchemy-d3b65cd9bc118a5653246dfa0e179add7249703f.tar.gz
Adds test to verify tsvector creation.
Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Diffstat (limited to 'test/dialect')
-rw-r--r--test/dialect/postgresql/test_types.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py
index 0675ebd5d..dc7b24664 100644
--- a/test/dialect/postgresql/test_types.py
+++ b/test/dialect/postgresql/test_types.py
@@ -836,7 +836,8 @@ class SpecialTypesTest(fixtures.TestBase, ComparesTables, AssertsCompiledSQL):
Column('plain_interval', postgresql.INTERVAL),
Column('year_interval', y2m()),
Column('month_interval', d2s()),
- Column('precision_interval', postgresql.INTERVAL(precision=3))
+ Column('precision_interval', postgresql.INTERVAL(precision=3)),
+ Column('tsvector_document', postgresql.TSVECTOR)
)
metadata.create_all()