示例#1
0
文件: lss.py 项目: AlexGaida/lss
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
示例#2
0
 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)
示例#3
0
 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))