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

Method tearDown

test/test_examples.py:47–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.db.inventory.drop()
46
47 def tearDown(self):
48 # Run after every test.
49 self.db.inventory.drop()
50 self.client.drop_database("pymongo_test")
51
52 def test_first_three_examples(self):
53 db = self.db

Callers

nothing calls this directly

Calls 2

dropMethod · 0.45
drop_databaseMethod · 0.45

Tested by

no test coverage detected