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

Method test_can_parse_debug

tests/unit/test_argparser.py:56–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.assertEqual(parsed_args.profile, 'foo')
55
56 def test_can_parse_debug(self):
57 parsed_args, _ = self.parser.parse_known_args(['--debug'])
58 self.assertTrue(parsed_args.debug)
59
60 def test_debug_if_false_by_default(self):
61 parsed_args, _ = self.parser.parse_known_args(['--foo'])

Callers

nothing calls this directly

Calls 1

parse_known_argsMethod · 0.45

Tested by

no test coverage detected