mirror of
https://gitlab.com/KKlochko/tui-rsync.git
synced 2026-08-20 05:37:43 +00:00
Add tests to check responses for showing and deleting a backup plan.
This commit is contained in:
@@ -31,6 +31,7 @@ def then_cli_output_contains(context, string):
|
||||
print(f"Got: {context.cli_result.stdout}")
|
||||
assert not (string in context.cli_result.stdout)
|
||||
|
||||
|
||||
@then('the CLI contains the error: "{string}"')
|
||||
def then_cli_output_contains_error(context, string):
|
||||
print(f"Got: {context.cli_result.stdout}")
|
||||
|
||||
Reference in New Issue
Block a user