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

Method setUp

tests/utils/botocore/__init__.py:176–182  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

174 INJECT_DUMMY_CREDS = False
175
176 def setUp(self):
177 self.driver = ClientDriver()
178 env = os.environ.copy()
179 if self.INJECT_DUMMY_CREDS:
180 env['AWS_ACCESS_KEY_ID'] = 'foo'
181 env['AWS_SECRET_ACCESS_KEY'] = 'bar'
182 self.driver.start(env=env)
183
184 def cmd(self, *args):
185 self.driver.cmd(*args)

Callers

nothing calls this directly

Calls 3

ClientDriverClass · 0.85
copyMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected