def after_scenario(context, scenario): if 'provider' in scenario.tags: teardown_providers(context) if 'notification' in scenario.tags: tests.teardown_notification(context) superdesk.resource_preferences = []
def after_scenario(context, scenario): if 'provider' in scenario.tags: teardown_providers(context) if 'notification' in scenario.tags: tests.teardown_notification(context) if 'clean' in scenario.tags: try: os.remove(get_macro_path('behave_macro.py')) except: pass
def after_scenario(context, scenario): if 'provider' in scenario.tags: teardown_providers(context) if 'notification' in scenario.tags: tests.teardown_notification(context)
def tearDown(self): teardown_providers(self)