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.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/dialect/test_mssql.py b/test/dialect/test_mssql.py
index 7627b6583..7a6f2665e 100644
--- a/test/dialect/test_mssql.py
+++ b/test/dialect/test_mssql.py
@@ -1160,8 +1160,9 @@ class ParseConnectTest(fixtures.TestBase, AssertsCompiledSQL):
url.make_url('mssql://username:password@mydsn/?LANGUAGE=us_'
'english&foo=bar')
connection = dialect.create_connect_args(u)
- eq_([['dsn=mydsn;UID=username;PWD=password;LANGUAGE=us_english;'
- 'foo=bar'], {}], connection)
+ dsn_string = connection[0][0]
+ assert ";LANGUAGE=us_english" in dsn_string
+ assert ";foo=bar" in dsn_string
def test_pyodbc_connect(self):
u = url.make_url('mssql://username:password@hostspec/database')