diff --git a/tests/functional/test_install_config.py b/tests/functional/test_install_config.py index 8e9b04a37..dcc9c66d5 100644 --- a/tests/functional/test_install_config.py +++ b/tests/functional/test_install_config.py @@ -242,8 +242,9 @@ def test_prompt_for_authentication(script, data, cert_factory): result = script.pip('install', "--index-url", url, "--cert", cert_path, "--client-cert", cert_path, 'simple', expect_error=True) - print(result) - assert 'User for {}:{}'.format(server.host, server.port) in result.stdout + + assert 'User for {}:{}'.format(server.host, server.port) in \ + result.stdout, str(result) def test_do_not_prompt_for_authentication(script, data, cert_factory):