summaryrefslogtreecommitdiff
path: root/test/engine/execute.py
diff options
context:
space:
mode:
authorMichael Trier <mtrier@gmail.com>2008-10-09 23:28:45 +0000
committerMichael Trier <mtrier@gmail.com>2008-10-09 23:28:45 +0000
commit188a990e221c7a84c350886dd699ce3f01932b8c (patch)
tree11a4f246674c227c09a45a93b9c085d1327db520 /test/engine/execute.py
parente0742ada97e1501e32329fa677bc80ac5b7ff4b8 (diff)
downloadsqlalchemy-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.py4
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