diff --git a/features/environment.py b/features/environment.py index ebda16b6..02f2747e 100644 --- a/features/environment.py +++ b/features/environment.py @@ -14,6 +14,7 @@ def before_feature(context, feature): feature.skip("Skipping on Windows") return + def before_scenario(context, scenario): """Before each scenario, backup all config and journal test data.""" # Clean up in case something went wrong @@ -44,6 +45,7 @@ def before_scenario(context, scenario): scenario.skip("Skipping on Windows") return + def after_scenario(context, scenario): """After each scenario, restore all test data and remove working_dirs.""" for folder in ("configs", "journals"):