From: Hajime Nakagami Date: Sun, 17 Feb 2013 06:07:19 +0000 (+0900) Subject: test for cymysql X-Git-Tag: rel_0_8_0~8^2~1^2~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60028c360768ca7386294cae082b10356034d725;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git test for cymysql --- diff --git a/test/dialect/test_mysql.py b/test/dialect/test_mysql.py index d5ce6e923a..f89b0b229e 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 69507eabe3..d14cde245b 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 738429158d..c20bcbd0a9 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 0e6f1b5f03..92c2fa284c 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'),