def __exit__(self, exc_type, exc_value, traceback): """ Cleans mongo afer the tests run. """ super(NoseTestSuite, self).__exit__(exc_type, exc_value, traceback) test_utils.clean_mongo()
def __exit__(self, exc_type, exc_value, traceback): super(AcceptanceTest, self).__exit__(exc_type, exc_value, traceback) test_utils.clean_mongo()