bovine_store.utils.test
bovine_admin_store(store)
async
Fixture for a bovine admin store, uses the same database as the store fixture.
Source code in bovine_store/bovine_store/utils/test.py
bovine_store_actor(store, bovine_admin_store)
async
Creates and returns a BovineStoreActor
Source code in bovine_store/bovine_store/utils/test.py
store()
async
pytest fixture for a BovineStore if the environment variable
BOVINE_DB_URL
the db from it is used. The schema is created
and dropped on each test. If the environment variable is not set
a sqlite3 database is used, whose file is deleted after the test
is finished.