Skip to content

Commit 2111b08

Browse files
Update tests/setup_wizard/test_health.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 00045cf commit 2111b08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/setup_wizard/test_health.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ def close(self):
9393

9494
monkeypatch.setattr("neo4j.GraphDatabase.driver", lambda *_a, **_k: BadDriver())
9595
headers = {"Authorization": "Basic dGVzdDp0ZXN0"}
96-
resp = client.get("/health", auth=AUTH, headers=headers)
96+
monkeypatch.setattr("neo4j.GraphDatabase.driver", lambda *_a, **_k: BadDriver())
97+
resp = client.get("/health", auth=AUTH)
9798
assert resp.status_code == 500
9899
assert resp.json()["neo4j"] == "down"
99100

0 commit comments

Comments
 (0)