Skip to content

Commit b306d6c

Browse files
committed
Update tests
1 parent fa29114 commit b306d6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/test_default_exports.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"ConfigurationError",
3535
"WriteConcern",
3636
]
37-
PYMONGO_IGNORE = []
37+
PYMONGO_IGNORE = ["uri_parser"]
3838
GLOBAL_INGORE = ["TYPE_CHECKING", "annotations"]
3939

4040

@@ -213,6 +213,8 @@ def test_pymongo_submodule_attributes(self):
213213
import pymongo
214214

215215
self.assertTrue(hasattr(pymongo, "uri_parser"))
216+
self.assertTrue(pymongo.uri_parser)
217+
self.assertTrue(pymongo.uri_parser.parse_uri)
216218

217219
def test_gridfs_imports(self):
218220
import gridfs

0 commit comments

Comments
 (0)