mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 00:36:13 +02:00
Fix FolderJournal path tests for Windows paths
This commit is contained in:
parent
71f918d878
commit
8a4fe0ec81
2 changed files with 6 additions and 6 deletions
|
@ -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}"')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue