We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092fe52 commit bcfa3a8Copy full SHA for bcfa3a8
tests/test_atleta.py
@@ -0,0 +1,7 @@
1
+import pytest
2
+from httpx import AsyncClient
3
+
4
+@pytest.mark.asyncio
5
+async def test_health(async_client: AsyncClient):
6
+ r = await async_client.get("/v1/atletas/")
7
+ assert r.status_code in (200, 422, 303) # depende se DB está configurado
0 commit comments