1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-22 16:25:17 +00:00

tests: Attempt to extract more information

This commit is contained in:
Lauri Võsandi 2017-05-01 19:57:53 +00:00
parent 9668fa549b
commit 451e2b2ad8

View File

@ -353,7 +353,7 @@ def test_cli_setup_authority():
# pregen dhparam
result = runner.invoke(cli, ["request", "--no-wait"])
assert not result.exception, result.output
assert not result.exception, "server responded %s, server logs say %s" % (result.output, open("/var/log/certidude.log").read())
result = runner.invoke(cli, ['sign', 'vpn.example.lan'])
assert not result.exception, result.output
result = runner.invoke(cli, ["request", "--no-wait"])