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)
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')