12

During unittesting I'm calling:

self.connection = connect(db="testdb", host="mongomock://localhost")
self.connection.drop_database("testdb")

between tests, however data is persisting. Is there a known fix for this?

James MV
  • 8,569
  • 17
  • 65
  • 96

0 Answers0