mirror of
https://github.com/R0m1k3/Reviflow.git
synced 2026-10-20 21:48:27 +02:00
Sauvegarde de l'état (réparation)
This commit is contained in:
commit
7c04fffe77
434 files changed
+83923
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import pytest
|
||||
from httpx import AsyncClient
|
||||
from app.main import app
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def anyio_backend():
|
||||
return "asyncio"
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
async def client():
|
||||
async with AsyncClient(app=app, base_url="http://test") as c:
|
||||
yield c
|
||||
Reference in new issue
Block a user