You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/cookiecutter/files/test_cli-1.7.2.patch

15 lines
579 B

diff --git a/tests/test_cli.py b/tests/test_cli.py
index e9b559c..9d89b2f 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -401,7 +401,8 @@ def test_cli_extra_context_invalid_format(cli_runner):
'tests/fake-repo-pre/', '--no-input', '-v', 'ExtraContextWithNoEqualsSoInvalid',
)
assert result.exit_code == 2
- assert "Error: Invalid value for '[EXTRA_CONTEXT]...'" in result.output
+ assert "Error: Invalid value for"
+ assert "[EXTRA_CONTEXT]..." in result.output
assert 'should contain items of the form key=value' in result.output