]> git.openstreetmap.org Git - nominatim.git/commitdiff
tests: skip tidylib, it cannot handle HTML5
authorMarc Tobias Metten <mtmail@gmx.net>
Wed, 20 Jan 2016 00:14:20 +0000 (01:14 +0100)
committerMarc Tobias Metten <mtmail@gmx.net>
Wed, 20 Jan 2016 00:14:20 +0000 (01:14 +0100)
tests/steps/api_result.py

index 91c072968767ed6a499065ede0b68aba762afa3f..4910c157649d17bc7f818abeca610f366eb75c18 100644 (file)
@@ -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()