diff --git a/tests/test_utils.py b/tests/test_utils.py index e6d890eb..dec34b92 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -295,7 +295,7 @@ def test_check_status_code_for_missing_status_code( captured = capsys.readouterr() if verbose: - assert captured.out == "Content received from server:\nForbidden\n" + assert "Content received from server:\nForbidden\n" in captured.out else: assert captured.out == "NOTE: Try --verbose to see response content.\n"