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 May 23, 2020
1 parent c153891 commit 8e90168
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/test_install_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ def test_prompt_for_authentication(script, data, cert_factory):
"--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 8e90168

Please sign in to comment.