We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bf0257 commit e7cdee1Copy full SHA for e7cdee1
1 file changed
test/test_uri_parser.py
@@ -620,8 +620,8 @@ def test_tls_option_conflicts(self):
620
)
621
self.assertRaises(InvalidURI, split_options, "ssl=true&tls=false")
622
self.assertRaises(InvalidURI, split_options, "ssl=false&tls=true")
623
- self.assertTrue(split_options("ssl=true&tls=true"))
624
- self.assertTrue(split_options("ssl=false&tls=false"))
+ self.assertEqual(split_options("ssl=true&tls=true"), {"tls": True})
+ self.assertEqual(split_options("ssl=false&tls=false"), {"tls": False})
625
626
def test_split_options_mixed_delimiters(self):
627
self.assertRaises(InvalidURI, split_options, "ssl=true&tls=true;appname=foo")
0 commit comments