diff options
author | Michael Trier <mtrier@gmail.com> | 2008-12-12 03:41:05 +0000 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-12-12 03:41:05 +0000 |
commit | 1d90146210b0919294a99468a916d4084fc14c7d (patch) | |
tree | 75bf422e326289f225adc399675d9a316486878a /test/engine/execute.py | |
parent | aaac4520d3a4d1b2b73403bedaeb67d9cf26409c (diff) | |
download | sqlalchemy-1d90146210b0919294a99468a916d4084fc14c7d.tar.gz |
Modified fails_on testing decorator to take a reason for the failure.
This should assist with helping to document the reasons for testing failures.
Currently unspecified failures are defaulted to 'FIXME: unknown'.
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 c45c0744d..5b3478c56 100644 --- a/test/engine/execute.py +++ b/test/engine/execute.py @@ -78,14 +78,14 @@ class ExecuteTest(TestBase): except tsa.exc.DBAPIError: assert True - @testing.fails_on('mssql') + @testing.fails_on('mssql', 'rowcount returns -1') 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')), []) self.assertEquals(result.rowcount, 1) class ProxyConnectionTest(TestBase): - @testing.fails_on('firebird') # Data type unknown + @testing.fails_on('firebird', 'Data type unknown') def test_proxy(self): stmts = [] |