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

Method setUp

tests/functional/test_args.py:22–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20
21class TestArgsResolution(BaseAWSCommandParamsTest):
22 def setUp(self):
23 super(TestArgsResolution, self).setUp()
24 self.files = FileCreator()
25 config_contents = '[profile bar]\n' 'region = us-west-2\n'
26 self.environ['AWS_CONFIG_FILE'] = self.files.create_file(
27 'myconfig', config_contents
28 )
29 self.driver = create_clidriver()
30 self.entry_point = AWSCLIEntryPoint(self.driver)
31
32 def tearDown(self):
33 super(TestArgsResolution, self).tearDown()

Callers

nothing calls this directly

Calls 4

FileCreatorClass · 0.90
create_clidriverFunction · 0.90
AWSCLIEntryPointClass · 0.90
create_fileMethod · 0.45

Tested by

no test coverage detected