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

Method setUp

tests/functional/test_clidriver.py:37–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35
36class TestSession(BaseCLIDriverTest):
37 def setUp(self):
38 super(TestSession, self).setUp()
39 urllib3_session_send = 'botocore.httpsession.URLLib3Session.send'
40 self._urllib3_patch = mock.patch(urllib3_session_send)
41 self._send = self._urllib3_patch.start()
42 self._send.side_effect = self.get_response
43 self._responses = []
44
45 def tearDown(self):
46 self._urllib3_patch.stop()

Callers 1

setUpMethod · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected