From 451e2b2ad86a91ea8a3c2d8ce24aeaa2de2f82cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 1 May 2017 19:57:53 +0000 Subject: [PATCH] tests: Attempt to extract more information --- tests/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 3034a8d..e509a4b 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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"])