From 2f4fc0e6f591898217750000da872a67eeedef50 Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Wed, 17 Apr 2024 10:40:29 +0200 Subject: [PATCH] refactor unit test --- tests/test_routers.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_routers.py b/tests/test_routers.py index 25d03c7..93a0de1 100644 --- a/tests/test_routers.py +++ b/tests/test_routers.py @@ -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(