From: Noufal Ibrahim Date: Mon, 9 Dec 2013 19:17:01 +0000 (+0530) Subject: Adds test to verify tsvector creation. X-Git-Tag: rel_0_9_0~41^2~1^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d3b65cd9bc118a5653246dfa0e179add7249703f;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Adds test to verify tsvector creation. Signed-off-by: Noufal Ibrahim --- diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index 0675ebd5d3..dc7b246641 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()