aports/testing/khal/tests-account-for-changed-error-message.patch

14 lines
547 B
Diff

diff --git a/tests/cli_test.py b/tests/cli_test.py
index 8938e3a..4fcf7f8 100644
--- a/tests/cli_test.py
+++ b/tests/cli_test.py
@@ -676,6 +676,8 @@ def test_print_ics_command(runner):
in result.output or
'Error: Invalid value for \'ics\': Could not open file: ' in result.output or
'Error: Invalid value for \'[ICS]\': Could not open file:'
+ in result.output or
+ 'Error: Invalid value for \'[ICS]\': \'nonexisting_file\': No such file or directory'
in result.output)
# Run on test files