Skip to content

Commit 87c5527

Browse files
committed
Update test for health endpoint
1 parent 881aa85 commit 87c5527

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@ def client() -> TestClient:
1212
def test_get_heartbeat(client, version):
1313
# arrange
1414
path = f"/{version}/health/heartbeat"
15+
headers = {
16+
"x-ms-auth-internal-token": "47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU="
17+
}
1518

1619
# action
17-
response = client.get(path)
20+
response = client.get(path, headers=headers)
1821

1922
# assert
2023
assert response.status_code == 200

0 commit comments

Comments
 (0)