Searched refs:_parse_required_arguments (Results 1 – 3 of 3) sorted by relevance
76 self.assertEqual(Command._parse_required_arguments("ARG1 ARG2"), ["ARG1", "ARG2"])77 self.assertEqual(Command._parse_required_arguments("[ARG1] [ARG2]"), [])78 self.assertEqual(Command._parse_required_arguments("[ARG1] ARG2"), ["ARG2"])80 self.assertRaises(Exception, Command._parse_required_arguments, "[ARG1 ARG2]")
53 self.required_arguments = self._parse_required_arguments(argument_names)81 def _parse_required_arguments(argument_names): member in Command
24465 - Add _parse_required_arguments.24470 * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments