Skip to content

Commit

Permalink
refactor unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
grillazz committed Apr 17, 2024
1 parent 3a2a3e4 commit 2f4fc0e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@

@pytest.mark.anyio
async def test_health_check(client: AsyncClient):
response = await client.get("/health-check")
assert response.status_code == status.HTTP_200_OK
assert response.json()["version"] == "7.0.8"


@pytest.mark.anyio
async def test_health_check_snapshot(client: AsyncClient):
response = await client.get("/health-check")
assert response.status_code == status.HTTP_200_OK
assert response.json() == snapshot(
Expand Down

0 comments on commit 2f4fc0e

Please sign in to comment.