diff options
Diffstat (limited to 'test/dialect/postgres.py')
-rw-r--r-- | test/dialect/postgres.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dialect/postgres.py b/test/dialect/postgres.py index 82f41f80a..4affabb6c 100644 --- a/test/dialect/postgres.py +++ b/test/dialect/postgres.py @@ -101,6 +101,9 @@ class ReturningTest(AssertMixin): result3 = table.insert(postgres_returning=[(table.c.id*2).label('double_id')]).execute({'persons': 4, 'full': False}) self.assertEqual([dict(row) for row in result3], [{'double_id':8}]) + + result4 = testbase.db.execute('insert into tables (id, persons, "full") values (5, 10, true) returning persons') + self.assertEqual([dict(row) for row in result4], [{'persons': 10}]) finally: table.drop() |