diff --git a/emission/tests/coreTests/wrapperTests/TestUserCustomMode.py b/emission/tests/coreTests/wrapperTests/TestUserCustomMode.py index de7ed0078..53d821bef 100644 --- a/emission/tests/coreTests/wrapperTests/TestUserCustomMode.py +++ b/emission/tests/coreTests/wrapperTests/TestUserCustomMode.py @@ -18,7 +18,6 @@ class TestUserCustomMode(unittest.TestCase): def setUp(self): - etc.dropAllCollections(edb._get_current_db()) self.user = User.register('fake@fake.com') def testinitialGetUserCustomModes(self): @@ -48,6 +47,9 @@ def testDeleteUserCustomMode(self): mode = self.user.deleteUserCustomMode('test1') self.assertListEqual(mode, []) + def tearDown(self): + etc.dropAllCollections(edb._get_current_db()) + if __name__ == '__main__': etc.configLogging()