mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
switch order of cleaning working dirs and returning to cwd
This commit is contained in:
parent
5ce16cf341
commit
c03f0ab2d7
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue