MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / tearDown

Method tearDown

test/test_change_stream.py:767–770  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

765 self.dbs = [self.db, self.client.pymongo_test_2]
766
767 def tearDown(self):
768 for db in self.dbs:
769 self.client.drop_database(db)
770 super().tearDown()
771
772 def change_stream_with_client(self, client, *args, **kwargs):
773 return client.watch(*args, **kwargs)

Callers

nothing calls this directly

Calls 2

drop_databaseMethod · 0.45
tearDownMethod · 0.45

Tested by

no test coverage detected