(self)
| 85 | self.http_client = self.create_client() |
| 86 | |
| 87 | def get_app(self): |
| 88 | return Application( |
| 89 | [ |
| 90 | ("/digest", DigestAuthHandler, {"username": "foo", "password": "bar"}), |
| 91 | ( |
| 92 | "/digest_non_ascii", |
| 93 | DigestAuthHandler, |
| 94 | {"username": "foo", "password": "barユ£"}, |
| 95 | ), |
| 96 | ("/custom_reason", CustomReasonHandler), |
| 97 | ("/custom_fail_reason", CustomFailReasonHandler), |
| 98 | ] |
| 99 | ) |
| 100 | |
| 101 | def create_client(self, **kwargs): |
| 102 | return CurlAsyncHTTPClient( |
nothing calls this directly
no test coverage detected