We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bddc892 commit eb3086dCopy full SHA for eb3086d
test/test_uri_parser.py
@@ -555,6 +555,10 @@ def test_port_with_whitespace(self):
555
with self.assertRaisesRegex(ValueError, r"Port contains whitespace character: '\\n'"):
556
parse_uri("mongodb://localhost:27\n017")
557
558
+ def test_parse_uri_options_type(self):
559
+ opts = parse_uri("mongodb://localhost:27017")["options"]
560
+ self.assertIsInstance(opts, dict)
561
+
562
563
if __name__ == "__main__":
564
unittest.main()
0 commit comments