Exemple #1
0
 def assert_produce(self, arg_list, result):
     self.assertEqual(parse_args.parse_create(arg_list), result)
Exemple #2
0
 def assert_raises_cmdline(self, args):
     self.assertRaises(
         CmdLineInputError,
         lambda: parse_args.parse_create(args)
     )
Exemple #3
0
 def assert_raises_cmdline(self, args):
     self.assertRaises(CmdLineInputError,
                       lambda: parse_args.parse_create(args))
Exemple #4
0
 def assert_produce(self, arg_list, result):
     self.assertEqual(parse_args.parse_create(arg_list), result)