Benjamin A. Beasley 2021-10-25 22:02:56 -04:00
parent b4ccf44d3a
commit 23e886e6a4

View file

@ -74,6 +74,7 @@ def output_should_be_empty(cli_run):
assert actual == ""
@then(parse('the output should contain the date "{date}"'))
@then('the output should contain the date "<date>"')
def output_should_contain_date(date, cli_run):
assert date and date in cli_run["stdout"]