()
| 144 | |
| 145 | |
| 146 | def test_http_str() -> None: |
| 147 | assert str(HTTPException(status_code=404)) == "404: Not Found" |
| 148 | assert str(HTTPException(404, "Not Found: foo")) == "404: Not Found: foo" |
| 149 | assert str(HTTPException(404, headers={"key": "value"})) == "404: Not Found" |
| 150 | |
| 151 | |
| 152 | def test_http_repr() -> None: |
nothing calls this directly
no test coverage detected