diff options
-rw-r--r-- | test/dialect/test_mssql.py | 9 | ||||
-rw-r--r-- | test/dialect/test_mxodbc.py | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/test/dialect/test_mssql.py b/test/dialect/test_mssql.py index c083a4899..9a7c90665 100644 --- a/test/dialect/test_mssql.py +++ b/test/dialect/test_mssql.py @@ -153,12 +153,13 @@ class CompileTest(fixtures.TestBase, AssertsCompiledSQL): # "" # ) - # TODO: should this be for *all* MS-SQL dialects ? - def test_mxodbc_binds(self): - """mxodbc uses MS-SQL native binds, which aren't allowed in - various places.""" + def test_strict_binds(self): + """test the 'strict' compiler binds.""" + from sqlalchemy.dialects.mssql.base import MSSQLStrictCompiler mxodbc_dialect = mxodbc.dialect() + mxodbc_dialect.statement_compiler = MSSQLStrictCompiler + t = table('sometable', column('foo')) for expr, compile in [ diff --git a/test/dialect/test_mxodbc.py b/test/dialect/test_mxodbc.py index 285b8863f..6c6a4b423 100644 --- a/test/dialect/test_mxodbc.py +++ b/test/dialect/test_mxodbc.py @@ -67,9 +67,9 @@ class MxODBCTest(fixtures.TestBase): execute(t1.insert().values(c1='foo' )) eq_(dbapi.log, [ - 'execute', - 'execute', - 'execute', + 'executedirect', + 'executedirect', + 'executedirect', 'executedirect', 'execute', 'executedirect', |