Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flavien-hugs committed Aug 15, 2024
1 parent 74c3e62 commit adeb05e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Empty file added src/config/sms.py
Empty file.
Empty file added src/shared/send_sms.py
Empty file.
4 changes: 1 addition & 3 deletions tests/routers/test_users_api.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import pytest
from starlette import status

from src.config import settings


# fake = faker.Faker()


@pytest.mark.asyncio
async def test_ping_api(http_client_api):
response = await http_client_api.get(f"/{settings.APP_NAME}/@ping")
response = await http_client_api.get("/@ping")
assert response.status_code == status.HTTP_200_OK, response.text
assert response.json() == {"message": "pong !"}

Expand Down

0 comments on commit adeb05e

Please sign in to comment.