Fixture so that the database is initialized
Source code in cattle_grid/testing/fixtures.py
| @pytest.fixture(autouse=True)
async def database():
"""Fixture so that the database is initialized"""
async with with_database(db_uri="sqlite://:memory:", generate_schemas=True):
yield
|