mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-24 21:44:45 +03:00
tests: skip tidylib, it cannot handle HTML5
This commit is contained in:
parent
016815eda2
commit
47a7887d86
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user