Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /fastapi-keycloak_fastapi-keycloak /tests /unit /test_timeout.py
| import pytest | |
| import responses | |
| from requests import ReadTimeout | |
| from fastapi_keycloak import HTTPMethod | |
| def test_timeout(idp): | |
| responses.add(responses.GET, f"{idp.server_url}/timeout", body=ReadTimeout()) | |
| idp.timeout = 0.5 | |
| with pytest.raises(ReadTimeout): | |
| idp.proxy(relative_path="/timeout", method=HTTPMethod.GET) | |
Xet Storage Details
- Size:
- 339 Bytes
- Xet hash:
- 82fd363899452e32af707ad4a746717ba24dfdfa237a5fcf10e74bf1a95d1d76
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.