diff options
author | Michael Trier <mtrier@gmail.com> | 2008-10-09 23:28:45 +0000 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-10-09 23:28:45 +0000 |
commit | 188a990e221c7a84c350886dd699ce3f01932b8c (patch) | |
tree | 11a4f246674c227c09a45a93b9c085d1327db520 /test/engine/execute.py | |
parent | e0742ada97e1501e32329fa677bc80ac5b7ff4b8 (diff) | |
download | sqlalchemy-188a990e221c7a84c350886dd699ce3f01932b8c.tar.gz |
indicated that test_empty_insert fails on mssql since pyodbc returns a -1 always for the result.rowcount.
Diffstat (limited to 'test/engine/execute.py')
-rw-r--r-- | test/engine/execute.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/engine/execute.py b/test/engine/execute.py index 85a99c452..c45c0744d 100644 --- a/test/engine/execute.py +++ b/test/engine/execute.py @@ -78,11 +78,11 @@ class ExecuteTest(TestBase): except tsa.exc.DBAPIError: assert True + @testing.fails_on('mssql') def test_empty_insert(self): """test that execute() interprets [] as a list with no params""" - result = testing.db.execute(users.insert().values(user_name=bindparam('name')), []) - assert result.rowcount == 1 + self.assertEquals(result.rowcount, 1) class ProxyConnectionTest(TestBase): @testing.fails_on('firebird') # Data type unknown |