From 60ff382d7497753caf71be7bef348f7256c4c356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 1 May 2017 22:53:24 +0000 Subject: [PATCH] tests: More verbosity --- 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 f8f5f93..947db23 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -221,7 +221,7 @@ def test_cli_setup_authority(): r = requests.get("http://ca.example.lan/api/revoked/", headers={"Accept":"application/x-pem-file"}) - assert r.status_code == 200, "Server responded with %s" % r.text + assert r.status_code == 200, "Server responded with %s, server logs say %s" % (r.text, open("/var/log/certidude.log").read()) assert r.headers.get('content-type') == "application/x-pem-file" r = client().simulate_get("/api/revoked/")