Create all DB tables before any test in this module touches the database.
()
| 53 | |
| 54 | @pytest_asyncio.fixture(scope="module", autouse=True) |
| 55 | async def _init_db(): |
| 56 | """Create all DB tables before any test in this module touches the database.""" |
| 57 | from mirix.server.server import ensure_tables_created |
| 58 | await ensure_tables_created() |
| 59 | |
| 60 | |
| 61 | @pytest_asyncio.fixture(scope="module") |
nothing calls this directly
no test coverage detected