Skip to content

Commit 34fb627

Browse files
committed
Assert result string in test_prompt_for_authentication
1 parent 2834a4c commit 34fb627

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/functional/test_install_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def test_prompt_for_authentication(script, data, cert_factory):
243243
"--cert", cert_path, "--client-cert", cert_path,
244244
'simple', expect_error=True)
245245
print(result)
246-
assert 'User for {}:{}'.format(server.host, server.port) in result.stdout
246+
assert 'User for {}:{}'.format(server.host, server.port) in \
247+
result.stdout, str(result)
247248

248249

249250
def test_do_not_prompt_for_authentication(script, data, cert_factory):

0 commit comments

Comments
 (0)