diff options
Diffstat (limited to 'test/sql/query.py')
-rw-r--r-- | test/sql/query.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/sql/query.py b/test/sql/query.py index 91587bc0e..8af5aafea 100644 --- a/test/sql/query.py +++ b/test/sql/query.py @@ -458,6 +458,22 @@ class QueryTest(PersistTest): finally: tbl.drop() con.execute('drop schema paj') + + @testbase.supported('mssql') + def test_insertid_reserved(self): + meta = MetaData(testbase.db) + table = Table( + 'select', meta, + Column('col', Integer, primary_key=True) + ) + table.create() + + meta2 = MetaData(testbase.db) + try: + table.insert().execute(col=7) + finally: + table.drop() + def test_in_filtering(self): """test the 'shortname' field on BindParamClause.""" |