def before_feature(context, feature): try: os.remove(convenience.settings["RECALL_MAILFILE"]) except OSError: pass convenience.wipe_mongodb() search.clear()
def tearDown(self): conv.wipe_mongodb() search.clear()