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

Method tearDown

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

Source from the content-addressed store, hash-verified

43 document = RawBSONDocument(bson_string)
44
45 def tearDown(self):
46 if client_context.connected:
47 self.client.pymongo_test.test_raw.drop()
48
49 def test_decode(self):
50 self.assertEqual("Sherlock", self.document["name"])

Callers

nothing calls this directly

Calls 1

dropMethod · 0.45

Tested by

no test coverage detected