From d347a01f5837aee85e0c3dd5dea0c12a09175ebc Mon Sep 17 00:00:00 2001 From: gromdimon Date: Tue, 22 Aug 2023 11:07:47 +0200 Subject: [PATCH] wip --- backend/Pipfile | 2 +- backend/app/main.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/Pipfile b/backend/Pipfile index 58937d1c..892cbfaa 100644 --- a/backend/Pipfile +++ b/backend/Pipfile @@ -9,7 +9,6 @@ pydantic = "*" uvicorn = "*" python-dotenv = "*" httpx = "*" -pytest-asyncio = "*" requests-mock = "*" [dev-packages] @@ -18,6 +17,7 @@ flake8 = "*" isort = "*" mypy = "*" pytest = "*" +pytest-asyncio = "*" pytest-cov = "*" pytest-httpx = "*" sphinx = "*" diff --git a/backend/app/main.py b/backend/app/main.py index 3fd86e42..ad189e94 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -83,8 +83,7 @@ async def reverse_proxy(request: Request) -> Response: # Routes -#: pragma: no cover -if SERVE_FRONTEND: +if SERVE_FRONTEND: #: pragma: no cover print(f"SERVE_FRONTEND = {SERVE_FRONTEND}", file=sys.stderr) app.mount("/ui", StaticFiles(directory=SERVE_FRONTEND), name="app")