summaryrefslogtreecommitdiff
path: root/test/dialect/test_mssql.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/test_mssql.py')
-rw-r--r--test/dialect/test_mssql.py9
1 files changed, 5 insertions, 4 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 [