Download tests/test_http_status.py from asnannp/DocDoeAI: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/asnannp/DocDoeAI/resolve/main/tests/test_http_status.py
- Command line
-
hf download hf://spaces/asnannp/DocDoeAI/tests/test_http_status.py
-
curl -L -o test_http_status.py https://huggingface.co/spaces/asnannp/DocDoeAI/resolve/main/tests/test_http_status.py
244 Bytes
| from app.core.http_status import HTTP_413_CONTENT_TOO_LARGE, HTTP_422_UNPROCESSABLE_CONTENT | |
| def test_http_status_aliases_are_valid_codes() -> None: | |
| assert HTTP_413_CONTENT_TOO_LARGE == 413 | |
| assert HTTP_422_UNPROCESSABLE_CONTENT == 422 | |