From b9ff93f7ba59cb49cb4ebe4bb5aa929bd2f7fbca Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Mon, 27 Jul 2020 19:25:19 +0530 Subject: [PATCH] Update test messages to reflect new reality --- tests/functional/test_install_check.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_install_check.py b/tests/functional/test_install_check.py index 060af80ef..88609422b 100644 --- a/tests/functional/test_install_check.py +++ b/tests/functional/test_install_check.py @@ -35,7 +35,7 @@ def test_check_install_canonicalization(script): allow_stderr_error=True, ) expected_lines = [ - "ERROR: pkga 1.0 requires SPECIAL.missing, which is not installed.", + "pkga 1.0 requires SPECIAL.missing, which is not installed.", ] # Deprecated python versions produce an extra warning on stderr assert contains_expected_lines(result.stderr, expected_lines) @@ -86,8 +86,9 @@ def test_check_install_does_not_warn_for_out_of_graph_issues(script): 'install', '--no-index', pkg_conflict_path, allow_stderr_error=True, ) assert contains_expected_lines(result.stderr, [ + "broken 1.0 requires missing, which is not installed.", ( - "ERROR: broken 1.0 has requirement conflict<1.0, but " + "broken 1.0 requires conflict<1.0, but " "you'll have conflict 1.0 which is incompatible." ), ])