(self, _)
| 498 | @unittest.mock.patch( |
| 499 | 'aiohttp.client_reqrep.ClientRequest.update_body_from_data') |
| 500 | def test_pass_falsy_data(self, _): |
| 501 | req = ClientRequest( |
| 502 | 'post', 'http://python.org/', |
| 503 | data={}, loop=self.loop) |
| 504 | req.update_body_from_data.assert_called_once_with({}, frozenset()) |
| 505 | self.loop.run_until_complete(req.close()) |
| 506 | |
| 507 | def test_get_with_data(self): |
| 508 | for meth in ClientRequest.GET_METHODS: |
nothing calls this directly
no test coverage detected