(self)
| 13 | class TestClientResponse(unittest.TestCase): |
| 14 | |
| 15 | def setUp(self): |
| 16 | self.loop = asyncio.new_event_loop() |
| 17 | asyncio.set_event_loop(None) |
| 18 | |
| 19 | self.connection = unittest.mock.Mock() |
| 20 | self.stream = aiohttp.StreamParser(loop=self.loop) |
| 21 | self.response = ClientResponse('get', 'http://def-cl-resp.org') |
| 22 | self.response._post_init(self.loop) |
| 23 | self.response._setup_connection(self.connection) |
| 24 | |
| 25 | def tearDown(self): |
| 26 | self.response.close() |
nothing calls this directly
no test coverage detected