Fix FolderJournal path tests for Windows paths

This commit is contained in:
Micah Ellison 2020-02-29 13:29:19 -08:00
parent 71f918d878
commit 8a4fe0ec81
2 changed files with 6 additions and 6 deletions

View file

@ -210,10 +210,11 @@ def check_output_time_inline(context, text):
@then("the output should contain")
@then('the output should contain "{text}"')
def check_output_inline(context, text=None):
@then('the output should contain "{text}" or "{text2}"')
def check_output_inline(context, text=None, text2=None):
text = text or context.text
out = context.stdout_capture.getvalue()
assert text in out, text
assert (text in out or text2 in out), text or text2
@then('the output should not contain "{text}"')