[#766] Skip the broken test on windows for now

This commit is contained in:
Jonathan Wren 2019-12-10 22:05:38 -08:00
parent af6243c73d
commit da55914ec3
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,6 @@
import shutil
import os
import sys
def before_feature(context, feature):
@ -9,6 +10,9 @@ def before_feature(context, feature):
feature.skip("Marked with @skip")
return
if "skip_win" in feature.tags and "win32" in sys.platform:
feature.skip("Skipping on Windows")
return
def before_scenario(context, scenario):
"""Before each scenario, backup all config and journal test data."""
@ -36,6 +40,9 @@ def before_scenario(context, scenario):
scenario.skip("Marked with @skip")
return
if "skip_win" in scenario.effective_tags and "win32" in sys.platform:
scenario.skip("Skipping on Windows")
return
def after_scenario(context, scenario):
"""After each scenario, restore all test data and remove working_dirs."""