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

Method setUp

tests/functional/sso/test_logout.py:21–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19
20class TestLogoutCommand(BaseSSOTest):
21 def setUp(self):
22 super(TestLogoutCommand, self).setUp()
23 self.logout_token_cache_dir_patch = mock.patch(
24 'awscli.customizations.sso.logout.SSO_TOKEN_DIR',
25 self.token_cache_dir,
26 )
27 self.logout_token_cache_dir_patch.start()
28 self.aws_creds_cache_dir = self.files.full_path('aws-creds-cache')
29 self.aws_creds_cache_dir_patch = mock.patch(
30 'awscli.customizations.sso.logout.AWS_CREDS_CACHE_DIR',
31 self.aws_creds_cache_dir,
32 )
33 self.aws_creds_cache_dir_patch.start()
34
35 def tearDown(self):
36 super(TestLogoutCommand, self).tearDown()

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
full_pathMethod · 0.45

Tested by

no test coverage detected