summaryrefslogtreecommitdiff
path: root/test/lib/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-06-02 19:52:26 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-06-02 19:52:26 -0400
commit9211ecb6cfdc8e213a6e8154aaffc6c81da5820f (patch)
treec1e54b4e2652d681ebcdf296c087c4925cdf4b80 /test/lib/testing.py
parentbf0890c6694bd6464a0821e807d425111c9868c5 (diff)
downloadsqlalchemy-9211ecb6cfdc8e213a6e8154aaffc6c81da5820f.tar.gz
- Unit tests pass 100% on MySQL installed
on windows, after aggressive exclusion of a wide variety of tests. Not clear to what degree the failures are related to version 5.5 vs. the usage of windows, in particular the ON UPDATE CASCADE immediately crashes the server. The features being tested here are all edge cases not likely to be used in typical MySQL environments. - Removed the "adjust casing" step that would fail when reflecting a table on MySQL on windows with a mixed case name. After some experimenting with a windows MySQL server, it's been determined that this step wasn't really helping the situation much; MySQL does not return FK names with proper casing on non-windows platforms either, and removing the step at least allows the reflection to act more like it does on other OSes. A warning here has been considered but its difficult to determine under what conditions such a warning can be raised, so punted on that for now - added some docs instead. [ticket:2181] - supports_sane_rowcount will be set to False if using MySQLdb and the DBAPI doesn't provide the constants.CLIENT module.
Diffstat (limited to 'test/lib/testing.py')
-rw-r--r--test/lib/testing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/testing.py b/test/lib/testing.py
index f5babc19c..90e8b7746 100644
--- a/test/lib/testing.py
+++ b/test/lib/testing.py
@@ -267,6 +267,7 @@ def _is_excluded(db, op, spec):
_is_excluded('bigdb', '==', (9,0,9))
_is_excluded('yikesdb', 'in', ((0, 3, 'alpha2'), (0, 3, 'alpha3')))
"""
+
vendor_spec = db_spec(db)
if not vendor_spec(config.db):