mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-11-30 13:20:40 +03:00
init unit tests
This commit is contained in:
0
tests/api/__init__.py
Normal file
0
tests/api/__init__.py
Normal file
10
tests/api/test_stuff.py
Normal file
10
tests/api/test_stuff.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
from fastapi import status
|
||||
from httpx import AsyncClient
|
||||
|
||||
# decorate all tests with @pytest.mark.asyncio
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
|
||||
async def test_add_stuff(client: AsyncClient):
|
||||
assert True
|
||||
Reference in New Issue
Block a user