summaryrefslogtreecommitdiff
path: root/test/dialect/test_mssql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-22 13:37:39 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-22 13:37:39 -0400
commit62b2955c7a2bc928de3a35ab1494c5d2e2197a68 (patch)
treeeb4df5ac9e03af2c819c14b8081b03fe5065c133 /test/dialect/test_mssql.py
parent7e815c67a9b90774fbb9fa1865a7d79113ef3612 (diff)
downloadsqlalchemy-62b2955c7a2bc928de3a35ab1494c5d2e2197a68.tar.gz
test fixes
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 [