diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-29 19:49:28 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-29 19:49:28 -0400 |
| commit | eb431e4aa5a0dbf3af73497289aade857cf70233 (patch) | |
| tree | 48d6d9304b92de2e7558c12da356cb0ceb0ea455 /test/engine | |
| parent | 2cea98dfc511abd569adff2deba3e6d0d0760f3e (diff) | |
| download | sqlalchemy-eb431e4aa5a0dbf3af73497289aade857cf70233.tar.gz | |
Updated mysqlconnector dialect to check for disconnect based
on the apparent string message sent in the exception; tested
against mysqlconnector 1.0.9.
Diffstat (limited to 'test/engine')
| -rw-r--r-- | test/engine/test_reconnect.py | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/test/engine/test_reconnect.py b/test/engine/test_reconnect.py index 9aecb81a9..b176c05ea 100644 --- a/test/engine/test_reconnect.py +++ b/test/engine/test_reconnect.py @@ -617,19 +617,12 @@ class InvalidateDuringResultTest(fixtures.TestBase): meta.drop_all() engine.dispose() - @testing.fails_on('+cymysql', - "Buffers the result set and doesn't check for " - "connection close") - @testing.fails_on('+pymysql', - "Buffers the result set and doesn't check for " - "connection close") - @testing.fails_on('+mysqldb', - "Buffers the result set and doesn't check for " - "connection close") - @testing.fails_on('+pg8000', - "Buffers the result set and doesn't check for " - "connection close") - @testing.fails_on('+informixdb', + @testing.fails_if([ + '+mysqlconnector', '+mysqldb' + '+cymysql', '+pymysql', '+pg8000' + ], "Buffers the result set and doesn't check for " + "connection close") + @testing.fails_if('+informixdb', "Wrong error thrown, fix in informixdb?") def test_invalidate_on_results(self): conn = engine.connect() |
