We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00045cf commit 2111b08Copy full SHA for 2111b08
tests/setup_wizard/test_health.py
@@ -93,7 +93,8 @@ def close(self):
93
94
monkeypatch.setattr("neo4j.GraphDatabase.driver", lambda *_a, **_k: BadDriver())
95
headers = {"Authorization": "Basic dGVzdDp0ZXN0"}
96
- resp = client.get("/health", auth=AUTH, headers=headers)
+ monkeypatch.setattr("neo4j.GraphDatabase.driver", lambda *_a, **_k: BadDriver())
97
+ resp = client.get("/health", auth=AUTH)
98
assert resp.status_code == 500
99
assert resp.json()["neo4j"] == "down"
100
0 commit comments