Пример #1
0
 def test_check_for_recognized_args_good_args(self):
     """
     _check_for_recognized_args() properly accepts good args
     """
     args = [
         'io_in',
         'io_out',
         'xy_plotting',
         'decorating',
     ]
     arg_lib._check_for_recognized_args(*args)
Пример #2
0
 def test_check_for_recognized_args_bad_args(self):
     """
     _check_for_recognized_args() properly recognizes bad arguments
     """
     with self.assertRaises(ValueError):
         arg_lib._check_for_recognized_args('unrecognized', 'args')