MCPcopy Create free account
hub / github.com/aws/aws-cli / setup

Method setup

scripts/performance/simple_stubbed_tests.py:29–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 return response
28
29 def setup(self):
30 urllib3_session_send = 'botocore.httpsession.URLLib3Session.send'
31 self._urllib3_patch = mock.patch(urllib3_session_send)
32 self._send = self._urllib3_patch.start()
33 self._send.side_effect = self._get_response
34 self._responses = []
35
36 def tear_down(self):
37 self._urllib3_patch.stop()

Callers 1

begin_iterationMethod · 0.80

Calls 1

startMethod · 0.45

Tested by

no test coverage detected