def main(): """ the main function call. :return: <bool> True for success. <bool> False for failure. """ args = argument_parse() utils.__verbosity__ = args.verbosity utils.do_it(glob_search=args.filename, path_name=args.path) return True
def test_filename_06(self): sequence_dir = path_utils.join_file_path(__directory_path__, 'testdirectories', 'sequence_06', 'd.0003.png') self.assertEqual(utils.do_it(path_name=sequence_dir), True)
def raiseTest_sequence_invalid(self): sequence_dir = path_utils.join_file_path(__directory_path__, 'testdirectories', 'sequence_99') self.assertRaises(IOError, utils.do_it(path_name=sequence_dir))