From: Marc Tobias Metten Date: Wed, 20 Jan 2016 00:14:20 +0000 (+0100) Subject: tests: skip tidylib, it cannot handle HTML5 X-Git-Tag: v.2.5.0~13^2~8 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/47a7887d86e5c99d8cdfd6fe99bea5688491063b?ds=inline;hp=-c tests: skip tidylib, it cannot handle HTML5 --- 47a7887d86e5c99d8cdfd6fe99bea5688491063b diff --git a/tests/steps/api_result.py b/tests/steps/api_result.py index 91c07296..4910c157 100644 --- a/tests/steps/api_result.py +++ b/tests/steps/api_result.py @@ -119,7 +119,7 @@ def api_result_is_valid(step, fmt): if world.response_format == 'html': document, errors = tidy_document(world.page, options={'char-encoding' : 'utf8'}) - assert(len(errors) == 0), "Errors found in HTML document:\n%s" % errors + # assert(len(errors) == 0), "Errors found in HTML document:\n%s" % errors world.results = document elif world.response_format == 'xml': _parse_xml()