Lines Matching refs:assertArgumentParserError
1748 def assertArgumentParserError(self, *args, **kwargs): member in TestAddSubparsers
1768 self.assertArgumentParserError(parser.add_subparsers)
1807 self.assertArgumentParserError(self.parser.parse_args, args)
2049 def assertArgumentParserError(self, *args, **kwargs): member in TestParentParsers
2100 self.assertArgumentParserError(parse_args, ['-a', '-b'])
2101 self.assertArgumentParserError(parse_args, ['-b', '-a'])
2102 self.assertArgumentParserError(parse_args, ['-c'])
2103 self.assertArgumentParserError(parse_args, ['-a', '-c'])
2104 self.assertArgumentParserError(parse_args, ['-b', '-c'])
2117 self.assertArgumentParserError(
2119 self.assertArgumentParserError(
2162 self.assertArgumentParserError(
2164 self.assertArgumentParserError(
4316 def assertArgumentParserError(self, parser, *args): member in TestOptionalsHelpVersionActions
4333 self.assertArgumentParserError(parser, '-h')
4334 self.assertArgumentParserError(parser, '--help')
4346 self.assertArgumentParserError(parser, '-h')
4347 self.assertArgumentParserError(parser, '--help')
4348 self.assertArgumentParserError(parser, '-v')
4349 self.assertArgumentParserError(parser, '--version')
4357 self.assertArgumentParserError(parser, '-v')
4358 self.assertArgumentParserError(parser, '--version')