MCPcopy
hub / github.com/aio-libs/aiohttp / test_close

Method test_close

tests/test_client_response.py:44–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42 connection.close.assert_called_with()
43
44 def test_close(self):
45 self.response._connection = self.connection
46 self.response.close()
47 self.assertIsNone(self.response.connection)
48 self.response.close()
49 self.response.close()
50
51 def test_wait_for_100_1(self):
52 response = ClientResponse(

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected