Skip to content

Commit

Permalink
Assert result string in test_prompt_for_authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
deveshks committed Jun 26, 2020
1 parent a833914 commit 4ecd7ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/functional/test_install_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4ecd7ec

Please sign in to comment.