From d1ce55f65c2a9019691c8184cb14c0a2a7353107 Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Fri, 16 Aug 2013 12:02:58 -0400 Subject: [PATCH] have the test teardown explicitly call destroy_db --- .../xmodule/modulestore/tests/test_mixed_modulestore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py index 70e4d1a5d3..e04ef9c363 100644 --- a/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py +++ b/common/lib/xmodule/xmodule/modulestore/tests/test_mixed_modulestore.py @@ -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():