mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2026-04-23 08:20:39 +03:00
init unit tests
This commit is contained in:
@@ -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