standardize behave tests

This commit is contained in:
Jonathan Wren 2020-07-06 23:08:30 -07:00
parent 6b73eb786e
commit 131477c7e3
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
15 changed files with 291 additions and 309 deletions

View file

@ -17,7 +17,7 @@ def before_feature(context, feature):
# add "skip" tag
# https://stackoverflow.com/a/42721605/4276230
if "skip" in feature.tags:
feature.skip("")
feature.skip()
return
if "skip_win" in feature.tags and on_windows:
@ -44,7 +44,7 @@ def before_scenario(context, scenario):
# add "skip" tag
# https://stackoverflow.com/a/42721605/4276230
if "skip" in scenario.effective_tags:
scenario.skip("")
scenario.skip()
return
if "skip_win" in scenario.effective_tags and on_windows: