1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-09-05 21:31:19 +00:00

tests: Improvements

This commit is contained in:
2017-05-01 22:41:41 +00:00
parent 58491e7933
commit a9c29d2fbb
3 changed files with 4 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ def test_cli_setup_authority():
r = client().simulate_get("/index.html")
assert r.status_code == 200, r.text
r = requests.get("http://ca.example.lan/index.html")
assert r.status_code == 200, r.text
assert r.status_code == 200, "server responded %s, logs say %s" % (r.text, open("/var/log/certidude.log").read())
# Test request submission