summaryrefslogtreecommitdiff
path: root/test/dialect/mysql.py
diff options
context:
space:
mode:
authorJason Kirtland <jek@discorporate.us>2008-05-09 20:26:09 +0000
committerJason Kirtland <jek@discorporate.us>2008-05-09 20:26:09 +0000
commite41c0f4107a132b2feac83ba07a25a336e7eae0b (patch)
tree09c785fd5ef9557c3fc926afd7e0a78702dd8023 /test/dialect/mysql.py
parenta2122a89f6d4f2d3ccc4ba7665cd588c2b0b93b0 (diff)
downloadsqlalchemy-e41c0f4107a132b2feac83ba07a25a336e7eae0b.tar.gz
Test suite modernization in progress. Big changes:
- @unsupported now only accepts a single target and demands a reason for not running the test. - @exclude also demands an exclusion reason - Greatly expanded @testing.requires.<feature>, eliminating many decorators in the suite and signficantly easing integration of multi-driver support. - New ORM test base class, and a featureful base for mapped tests - Usage of 'global' for shared setup going away, * imports as well
Diffstat (limited to 'test/dialect/mysql.py')
-rw-r--r--test/dialect/mysql.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/dialect/mysql.py b/test/dialect/mysql.py
index 6a261ddcd..bdcdf1800 100644
--- a/test/dialect/mysql.py
+++ b/test/dialect/mysql.py
@@ -177,7 +177,7 @@ class TypesTest(TestBase, AssertsExecutionResults):
raise
numeric_table.drop()
- @testing.exclude('mysql', '<', (4, 1, 1))
+ @testing.exclude('mysql', '<', (4, 1, 1), 'no charset support')
def test_charset(self):
"""Exercise CHARACTER SET and COLLATE-ish options on string types."""
@@ -261,7 +261,7 @@ class TypesTest(TestBase, AssertsExecutionResults):
raise
charset_table.drop()
- @testing.exclude('mysql', '<', (5, 0, 5))
+ @testing.exclude('mysql', '<', (5, 0, 5), 'a 5.0+ feature')
def test_bit_50(self):
"""Exercise BIT types on 5.0+ (not valid for all engine types)"""
@@ -381,7 +381,7 @@ class TypesTest(TestBase, AssertsExecutionResults):
finally:
meta.drop_all()
- @testing.exclude('mysql', '<', (4, 1, 0))
+ @testing.exclude('mysql', '<', (4, 1, 0), '4.1+ syntax')
def test_timestamp(self):
"""Exercise funky TIMESTAMP default syntax."""
@@ -579,7 +579,7 @@ class TypesTest(TestBase, AssertsExecutionResults):
self.assert_eq(res, expected)
enum_table.drop()
- @testing.exclude('mysql', '>', (3))
+ @testing.exclude('mysql', '<', (4,), "3.23 can't handle an ENUM of ''")
def test_enum_parse(self):
"""More exercises for the ENUM type."""
@@ -626,7 +626,7 @@ class TypesTest(TestBase, AssertsExecutionResults):
finally:
def_table.drop()
- @testing.exclude('mysql', '<', (5, 0, 0))
+ @testing.exclude('mysql', '<', (5, 0, 0), 'early types are squirrely')
@testing.uses_deprecated('Using String type with no length')
def test_type_reflection(self):
# (ask_for, roundtripped_as_if_different)