enable anyio for unit tests

This commit is contained in:
grillazz
2021-11-27 19:13:06 +01:00
parent 408b39ea99
commit a8458be925
3 changed files with 15 additions and 7 deletions

View File

@@ -4,9 +4,7 @@ import pytest
from fastapi import status
from httpx import AsyncClient
# decorate all tests with @pytest.mark.asyncio
pytestmark = pytest.mark.asyncio
pytestmark = pytest.mark.anyio
@pytest.mark.parametrize(
"payload, status_code",