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

Method setUp

tests/integration/botocore/test_loaders.py:25–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23# AWS_DATA_PATH doesn't affect our test results.
24class TestLoaderBasicFunctionality(unittest.TestCase):
25 def setUp(self):
26 self.environ = os.environ.copy()
27 self.patched = mock.patch('os.environ', self.environ)
28 self.patched.start()
29 self.environ.pop('AWS_DATA_PATH', None)
30
31 self.session = botocore.session.get_session()
32 self.loader = self.session.get_component('data_loader')
33
34 def tearDown(self):
35 self.patched.stop()

Callers

nothing calls this directly

Calls 3

copyMethod · 0.45
startMethod · 0.45
get_componentMethod · 0.45

Tested by

no test coverage detected