have the test teardown explicitly call destroy_db

This commit is contained in:
Chris Dodge
2013-08-16 12:02:58 -04:00
parent 13ff461461
commit d1ce55f65c

View File

@@ -66,8 +66,7 @@ class TestMixedModuleStore(object):
@classmethod
def teardownClass(cls):
cls.connection = pymongo.connection.Connection(HOST, PORT)
cls.connection.drop_database(DB)
cls.destroy_db(cls.connection)
@staticmethod
def initdb():