def _print_log_files(self, ctx): """ Prints all log files for given test """ log_files = self.get_log_files() for file in log_files: with open(file) as f: ctx.dump_n_lines(f)