diff options
author | Hajime Nakagami <nakagami@gmail.com> | 2013-02-17 15:07:19 +0900 |
---|---|---|
committer | Hajime Nakagami <nakagami@gmail.com> | 2013-02-17 15:07:19 +0900 |
commit | 60028c360768ca7386294cae082b10356034d725 (patch) | |
tree | 5c3b285d517abae9907661d38906bcf0b1954277 | |
parent | a521f212495c42c3f845690a98193ae5d1974a7e (diff) | |
download | sqlalchemy-60028c360768ca7386294cae082b10356034d725.tar.gz |
test for cymysql
-rw-r--r-- | test/dialect/test_mysql.py | 1 | ||||
-rw-r--r-- | test/engine/test_execute.py | 4 | ||||
-rw-r--r-- | test/requirements.py | 4 | ||||
-rw-r--r-- | test/sql/test_types.py | 1 |
4 files changed, 7 insertions, 3 deletions
diff --git a/test/dialect/test_mysql.py b/test/dialect/test_mysql.py index d5ce6e923..f89b0b229 100644 --- a/test/dialect/test_mysql.py +++ b/test/dialect/test_mysql.py @@ -1500,6 +1500,7 @@ class MatchTest(fixtures.TestBase, AssertsCompiledSQL): @testing.fails_on('mysql+mysqldb', 'uses format') @testing.fails_on('mysql+pymysql', 'uses format') + @testing.fails_on('mysql+cymysql', 'uses format') @testing.fails_on('mysql+oursql', 'uses format') @testing.fails_on('mysql+pyodbc', 'uses format') @testing.fails_on('mysql+zxjdbc', 'uses format') diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index 69507eabe..d14cde245 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -110,7 +110,7 @@ class ExecuteTest(fixtures.TestBase): # some psycopg2 versions bomb this. @testing.fails_on_everything_except('mysql+mysqldb', 'mysql+pymysql', - 'mysql+mysqlconnector', 'postgresql') + 'mysql+cymysql', 'mysql+mysqlconnector', 'postgresql') @testing.fails_on('postgresql+zxjdbc', 'sprintf not supported') def test_raw_sprintf(self): def go(conn): @@ -157,7 +157,7 @@ class ExecuteTest(fixtures.TestBase): 'db-api flaky') @testing.fails_on_everything_except('postgresql+psycopg2', 'postgresql+pypostgresql', 'mysql+mysqlconnector', - 'mysql+pymysql') + 'mysql+pymysql', 'mysql+cymysql') def test_raw_python(self): def go(conn): conn.execute('insert into users (user_id, user_name) ' diff --git a/test/requirements.py b/test/requirements.py index 738429158..c20bcbd0a 100644 --- a/test/requirements.py +++ b/test/requirements.py @@ -378,6 +378,7 @@ class DefaultRequirements(SuiteRequirements): """ return fails_on_everything_except('mysql+mysqldb', 'mysql+oursql', 'sqlite+pysqlite', 'mysql+pymysql', + 'mysql+cymysql', 'sybase', 'mssql+pyodbc', 'mssql+mxodbc') @property @@ -393,7 +394,8 @@ class DefaultRequirements(SuiteRequirements): """ return fails_on_everything_except('mysql+mysqldb', 'mysql+oursql', - 'sqlite+pysqlite', 'mysql+pymysql') + 'sqlite+pysqlite', 'mysql+pymysql', + 'mysql+cymysql') @property def sane_multi_rowcount(self): diff --git a/test/sql/test_types.py b/test/sql/test_types.py index 0e6f1b5f0..92c2fa284 100644 --- a/test/sql/test_types.py +++ b/test/sql/test_types.py @@ -701,6 +701,7 @@ class UnicodeTest(fixtures.TestBase): ('mysql', 'zxjdbc'), ('mysql', 'mysqlconnector'), ('mysql', 'pymysql'), + ('mysql', 'cymysql'), ('sqlite', 'pysqlite'), ('oracle', 'zxjdbc'), ('oracle', 'cx_oracle'), |