Skip to content

Commit

Permalink
Add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
quinna-h committed Sep 23, 2024
1 parent af4a23d commit d92d9b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/contrib/pymongo/test_pymongo_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def assert_not_module_patched(self, pymongo):
self.assert_not_wrapped(Connection.write_command)

def assert_not_module_double_patched(self, pymongo):
self.assert_not_double_wrapped(pymongo.MongoClient.__init__)
self.assert_not_double_wrapped(Topology.select_server)
self.assert_not_double_wrapped(Connection.command)
self.assert_not_double_wrapped(Connection.write_command)
Expand Down

0 comments on commit d92d9b0

Please sign in to comment.