MCPcopy Index your code
hub / github.com/aws/aws-cli / setup_method

Method setup_method

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

Source from the content-addressed store, hash-verified

317
318class TestCliDriver:
319 def setup_method(self):
320 self.session = FakeSession()
321 self.session.set_config_variable('cli_auto_prompt', 'off')
322 self.session.set_config_variable('cli_help_output', None)
323 self.driver = CLIDriver(session=self.session)
324
325 def test_session_can_be_passed_in(self):
326 assert self.driver.session == self.session

Callers

nothing calls this directly

Calls 3

CLIDriverClass · 0.90
FakeSessionClass · 0.70
set_config_variableMethod · 0.45

Tested by

no test coverage detected