summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/test/functional/features/environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py
index e753fca9..248b01fa 100644
--- a/service/test/functional/features/environment.py
+++ b/service/test/functional/features/environment.py
@@ -64,12 +64,14 @@ def after_step(context, step):
context.browser.save_screenshot('failed ' + str(step.name) + '_' + id + ".png")
save_source(context, 'failed ' + str(step.name) + '_' + id + ".html")
+
def after_feature(context, feature):
context.browser.quit()
cleanup_all_mails(context)
context.last_mail = None
+
@wait_for(timeout=10.0)
def cleanup_all_mails(context):
@defer.inlineCallbacks