MCPcopy Create free account
hub / github.com/MongoEngine/mongoengine / tearDown

Method tearDown

tests/document/test_delta.py:24–26  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 self.Person = Person
23
24 def tearDown(self):
25 for collection in list_collection_names(self.db):
26 self.db.drop_collection(collection)
27
28 def test_delta(self):
29 self.delta(Document)

Callers

nothing calls this directly

Calls 2

list_collection_namesFunction · 0.90
drop_collectionMethod · 0.80

Tested by

no test coverage detected