diff -r 464f5e8d57ab -r 7a7c237a1717 testsuite.py --- a/testsuite.py Wed Jan 31 15:19:31 2018 +0200 +++ b/testsuite.py Wed Jan 31 15:58:38 2018 +0200 @@ -102,22 +102,6 @@ message = message(**problem['args']) return message -def format_report_html(report, model, test_suite): - messages = [] - for problem in report['problems']: - ldraw_code = model.body[problem['body-index']].textual_representation() - message = str.format( - '
  • {model_name}:{line_number}:' - '{problem_type}: {message}
    {ldraw_code}
  • ', - model_name = model.name, - line_number = problem['line-number'], - problem_type = problem['type'], - message = problem_text(problem, test_suite), - ldraw_code = ldraw_code, - ) - messages.append(message) - return '\n'.join(messages) - def format_report(report, model, test_suite): import colorama colorama.init()