mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Support pytest-bdd 5.x (#1365)
https://github.com/pytest-dev/pytest-bdd/blob/5.0.0/README.rst#migration-of-your-tests-from-versions-4xx
This commit is contained in:
parent
f608e176c1
commit
99c19b2a64
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ def output_should_be_empty(cli_run):
|
||||||
assert actual == ""
|
assert actual == ""
|
||||||
|
|
||||||
|
|
||||||
|
@then(parse('the output should contain the date "{date}"'))
|
||||||
@then('the output should contain the date "<date>"')
|
@then('the output should contain the date "<date>"')
|
||||||
def output_should_contain_date(date, cli_run):
|
def output_should_contain_date(date, cli_run):
|
||||||
assert date and date in cli_run["stdout"]
|
assert date and date in cli_run["stdout"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue