MCPcopy
hub / github.com/aws/aws-cli / test_profile

Method test_profile

tests/unit/test_clidriver.py:336–338  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

334 assert self.driver.session.profile is None
335
336 def test_profile(self):
337 self.driver.main('s3 list-objects --bucket foo --profile foo'.split())
338 assert self.driver.session.profile == 'foo'
339
340 def test_region_is_set_for_session(self):
341 driver = CLIDriver(session=self.session)

Callers

nothing calls this directly

Calls 1

mainMethod · 0.45

Tested by

no test coverage detected