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

Method setUp

tests/utils/botocore/__init__.py:162–169  ·  view source on GitHub ↗
(self, **environ)

Source from the content-addressed store, hash-verified

160 """
161
162 def setUp(self, **environ):
163 super().setUp()
164 self.environ['AWS_ACCESS_KEY_ID'] = 'access_key'
165 self.environ['AWS_SECRET_ACCESS_KEY'] = 'secret_key'
166 self.environ['AWS_CONFIG_FILE'] = 'no-exist-foo'
167 self.environ.update(environ)
168 self.session = create_session()
169 self.session.config_filename = 'no-exist-foo'
170
171
172@skip_unless_has_memory_collection

Callers

nothing calls this directly

Calls 3

create_sessionFunction · 0.70
setUpMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected