Skip to content

Commit bcfa3a8

Browse files
authored
Create test_atleta.py
1 parent 092fe52 commit bcfa3a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_atleta.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)