Spaces:
Sleeping
Sleeping
Download tests/test_boot.py from pardeep-singh/reading-list: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/spaces/pardeep-singh/reading-list/resolve/main/tests/test_boot.py
- Command line
-
hf download hf://spaces/pardeep-singh/reading-list/tests/test_boot.py
-
curl -L -o test_boot.py https://huggingface.co/spaces/pardeep-singh/reading-list/resolve/main/tests/test_boot.py
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) | |