(self)
| 328 | |
| 329 | class TestInternalAliasSubCommand(unittest.TestCase): |
| 330 | def setUp(self): |
| 331 | self.alias_name = 'myalias' |
| 332 | self.alias_value = 'list-stacks' |
| 333 | self.session = mock.Mock(spec=Session) |
| 334 | self.parent_command = 'cloudformation' |
| 335 | self.command_object = mock.Mock(spec=CLICommand) |
| 336 | self.command_object.name = self.parent_command |
| 337 | self.shadow_proxy_command = None |
| 338 | self.command_table = { |
| 339 | self.parent_command: self.command_object, |
| 340 | } |
| 341 | self.global_args_parser = MainArgParser( |
| 342 | command_table=self.command_table, |
| 343 | version_string='version', |
| 344 | description='description', |
| 345 | argument_table={}, |
| 346 | ) |
| 347 | |
| 348 | def create_alias_sub_command(self): |
| 349 | return InternalAliasSubCommand( |
nothing calls this directly
no test coverage detected