Create a FastAPI app.
(mock_session_env)
| 142 | |
| 143 | @pytest_asyncio.fixture(scope="session") |
| 144 | async def app(mock_session_env): |
| 145 | """Create a FastAPI app.""" |
| 146 | if not Path("src/backend/static/").exists(): |
| 147 | pytest.skip("Please generate frontend files first!") |
| 148 | app = create_app(testing=True) |
| 149 | await create_and_seed_db() |
| 150 | return app |
| 151 | |
| 152 | |
| 153 | @pytest.fixture(scope="session") |
nothing calls this directly
no test coverage detected