reading-list / tests /test_boot.py
pardeep-singh's picture
Deploy reading-list from main 730966e
06b349d verified
Raw History Blame Contribute Delete
196 Bytes
from app.store import BookStore
def test_app_boots_with_its_own_store(client):
assert client.get("/openapi.json").status_code == 200
assert isinstance(client.app.state.store, BookStore)