diff --git a/api_app/tests_ma/test_api/conftest.py b/api_app/tests_ma/test_api/conftest.py index cfb4a507dd..a247b91ea5 100644 --- a/api_app/tests_ma/test_api/conftest.py +++ b/api_app/tests_ma/test_api/conftest.py @@ -133,9 +133,11 @@ def inner(): @pytest_asyncio.fixture(scope='module') def app() -> FastAPI: from main import get_application + the_app = get_application() return the_app + @pytest_asyncio.fixture async def client(app: FastAPI) -> AsyncClient: