Spaces:
Sleeping
Sleeping
Download tests/test_final_story.py from DvorakInnovationAI/GenAI-FASTAPI: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/spaces/DvorakInnovationAI/GenAI-FASTAPI/resolve/main/tests/test_final_story.py
- Command line
-
hf download hf://spaces/DvorakInnovationAI/GenAI-FASTAPI/tests/test_final_story.py
-
curl -L -o test_final_story.py https://huggingface.co/spaces/DvorakInnovationAI/GenAI-FASTAPI/resolve/main/tests/test_final_story.py
222 Bytes
| from fastapi.testclient import TestClient | |
| from api.main import app | |
| client = TestClient(app) | |
| def test_final_story_generation(): | |
| response = client.get("/api/generate-final-story") | |
| assert response.status_code == 200 |