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

Method setUp

tests/functional/sso/test_login.py:603–614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

601
602class TestLoginWithDirectUrl(BaseSSOTest):
603 def setUp(self):
604 super().setUp()
605 self.start_url = 'https://ssoins-abc.portal.us-west-2.app.aws'
606 self.set_config_file_content(
607 self.get_sso_session_config('direct-session')
608 )
609 self._resolve_patch.stop()
610 self.resolve_patch = mock.patch(
611 'awscli.customizations.sso.login.resolve_start_url',
612 return_value=(self.start_url, 'us-west-2'),
613 )
614 self.mock_resolve = self.resolve_patch.start()
615
616 def tearDown(self):
617 super().tearDown()

Callers

nothing calls this directly

Calls 5

setUpMethod · 0.45
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected