Create and seed the database.
()
| 133 | |
| 134 | |
| 135 | async def create_and_seed_db(): |
| 136 | """Create and seed the database.""" |
| 137 | engine = await create_postgres_engine_from_env() |
| 138 | await create_db_schema(engine) |
| 139 | await seed_data(engine) |
| 140 | await engine.dispose() |
| 141 | |
| 142 | |
| 143 | @pytest_asyncio.fixture(scope="session") |
no test coverage detected