(self, match)
| 1362 | |
| 1363 | @test_utils.Router.define('/broken$') |
| 1364 | def broken(self, match): |
| 1365 | resp = self._start_response(200) |
| 1366 | |
| 1367 | def write_body(resp, body): |
| 1368 | self._transport.close() |
| 1369 | raise ValueError() |
| 1370 | |
| 1371 | self._response( |
| 1372 | resp, |
| 1373 | body=json.dumps({'t': (b'0' * 1024).decode('utf-8')}), |
| 1374 | write_body=write_body) |
nothing calls this directly
no test coverage detected