(self)
| 1700 | raise HTTPError(682, reason="Foo") |
| 1701 | |
| 1702 | def get_http_client(self): |
| 1703 | # simple_httpclient only: curl doesn't expose the reason string |
| 1704 | return SimpleAsyncHTTPClient() |
| 1705 | |
| 1706 | def test_raise_with_reason(self): |
| 1707 | response = self.fetch("/") |
nothing calls this directly
no test coverage detected