Skip to content

Commit

Permalink
Merge pull request #436 from pehala/preexisting
Browse files Browse the repository at this point in the history
Add custom assert to preexisting_auth to see more details
  • Loading branch information
pehala authored Jun 12, 2024
2 parents 9f32e46 + 3cc735a commit 42c2524
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def test_preexisting_auth(
auth = setup_authorization(route2, "B")
auth.wait_for_ready()

assert hostname.hostname in auth.model.status.summary.hostsReady
assert (
hostname.hostname in auth.model.status.summary.hostsReady
), f"Host {hostname.hostname} not found, model: {auth.model}"
response = hostname.client().get("/get")
assert response.status_code == 200
assert response.json()["headers"]["Header"] == '{"anything":"B"}'

0 comments on commit 42c2524

Please sign in to comment.