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

Method test_alias_with_no_args

tests/unit/test_alias.py:358–366  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

356 )
357
358 def test_alias_with_no_args(self):
359 alias_cmd = self.create_alias_sub_command()
360 self.assertEqual(alias_cmd.name, self.alias_name)
361 parsed_globals = FakeParsedArgs(command=self.parent_command)
362 alias_cmd(args=[], parsed_globals=parsed_globals)
363 self.command_object.assert_called_with(
364 [self.alias_value],
365 parsed_globals,
366 )
367
368 def test_alias_with_alias_specific_args(self):
369 # --stack-status-filter is specific to the list-stacks command

Callers

nothing calls this directly

Calls 2

FakeParsedArgsClass · 0.70

Tested by

no test coverage detected