From c03f0ab2d761ac787442cc98e90214250c968a2b Mon Sep 17 00:00:00 2001 From: = Date: Fri, 29 May 2020 17:14:47 -0400 Subject: [PATCH] switch order of cleaning working dirs and returning to cwd --- features/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/environment.py b/features/environment.py index e76d246a..e8a7f4b7 100644 --- a/features/environment.py +++ b/features/environment.py @@ -52,6 +52,6 @@ def before_scenario(context, scenario): def after_scenario(context, scenario): """After each scenario, restore all test data and remove working_dirs.""" - clean_all_working_dirs() if os.getcwd()!=CWD: os.chdir(CWD) + clean_all_working_dirs()