1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +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 # pregen dhparam
result = runner.invoke(cli, ["request", "--no-wait"]) 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']) result = runner.invoke(cli, ['sign', 'vpn.example.lan'])
assert not result.exception, result.output assert not result.exception, result.output
result = runner.invoke(cli, ["request", "--no-wait"]) result = runner.invoke(cli, ["request", "--no-wait"])