You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert"Server=localhost;"inconn_str, "Connection string should contain 'Server=localhost;'"
38
+
assert"Uid=me;"inconn_str, "Connection string should contain 'Uid=me;'"
39
+
assert"Pwd=mypwd;"inconn_str, "Connection string should contain 'Pwd=mypwd;'"
40
+
assert"Database=mydb;"inconn_str, "Connection string should contain 'Database=mydb;'"
41
+
assert"Encrypt=yes;"inconn_str, "Connection string should contain 'Encrypt=yes;'"
42
+
assert"TrustServerCertificate=yes;"inconn_str, "Connection string should contain 'TrustServerCertificate=yes;'"
43
+
assert"APP=MSSQL-Python"inconn_str, "Connection string should contain 'APP=MSSQL-Python'"
44
+
assert"Driver={ODBC Driver 18 for SQL Server}"inconn_str, "Connection string should contain 'Driver={ODBC Driver 18 for SQL Server}'"
45
+
assert"Driver={ODBC Driver 18 for SQL Server};;APP=MSSQL-Python;Server=localhost;Uid=me;Pwd=mypwd;Database=mydb;Encrypt=yes;TrustServerCertificate=yes;"==conn_str, "Connection string is incorrect"
0 commit comments