示例#1
0
    def get_all_log_files(self):
        """
        Function returns all log_files created by rebase-helper
        First if debug log file and second is report summary log file

        :return:
        """
        log_list = []
        if FileHelper.file_available(self.debug_log_file):
            log_list.append(self.debug_log_file)
        if FileHelper.file_available(self.report_log_file):
            log_list.append(self.report_log_file)
        return log_list
示例#2
0
    def get_all_log_files(self):
        """
        Function returns all log_files created by rebase-helper
        First if debug log file and second is report summary log file

        :return: 
        """
        log_list = []
        if FileHelper.file_available(self.debug_log_file):
            log_list.append(self.debug_log_file)
        if FileHelper.file_available(self.report_log_file):
            log_list.append(self.report_log_file)
        return log_list
示例#3
0
 def get_checker_outputs(self):
     checkers = {}
     for check, data in six.iteritems(results_store.get_checkers()):
         if data:
             for log in six.iterkeys(data):
                 if FileHelper.file_available(log):
                     checkers[check] = log
         else:
             checkers[check] = None
     return checkers
示例#4
0
 def get_checker_outputs(self):
     checkers = {}
     if OutputLogger.get_checkers():
         for check, data in six.iteritems(OutputLogger.get_checkers()):
             if data:
                 for log in six.iterkeys(data):
                     if FileHelper.file_available(log):
                         checkers[check] = log
             else:
                 checkers[check] = None
     return checkers