(self, url, data: dict)
| 94 | return super().fetch(*args, **kwargs, allow_nonstandard_methods=True) |
| 95 | |
| 96 | def put_json(self, url, data: dict) -> httpclient.HTTPResponse: |
| 97 | return self.fetch( |
| 98 | url, |
| 99 | method="PUT", |
| 100 | body=json.dumps(data), |
| 101 | headers={"Content-Type": "application/json"}, |
| 102 | ) |
| 103 | |
| 104 | def test_index(self): |
| 105 | response = self.fetch("/") |
no test coverage detected