summaryrefslogtreecommitdiff
path: root/test/dialect/test_mssql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 21:46:48 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 21:46:48 -0400
commit7a81ecc82c37beae6de0e99ad07ba524b6006c8e (patch)
tree133951fd8dff8a206f6efaa57a2957af4bdcbca5 /test/dialect/test_mssql.py
parent4ad79e204e221b71378d599bc9ed5337f1fa2c58 (diff)
downloadsqlalchemy-7a81ecc82c37beae6de0e99ad07ba524b6006c8e.tar.gz
- adjustments for py3.3 unit tests, [ticket:2542]
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')