projects
/
nominatim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e0025b
)
bdd: be more verbose on HTML parsing error
author
Sarah Hoffmann
<lonvia@denofr.de>
Fri, 16 Feb 2024 15:40:24 +0000
(16:40 +0100)
committer
Sarah Hoffmann
<lonvia@denofr.de>
Mon, 19 Feb 2024 17:39:01 +0000
(18:39 +0100)
test/bdd/steps/steps_api_queries.py
patch
|
blob
|
history
diff --git
a/test/bdd/steps/steps_api_queries.py
b/test/bdd/steps/steps_api_queries.py
index 3d3b16c76d4a365787413753bb719d96cbf44bf5..aa1b43b8493d387a7323c1fc5ff6b67eb5e7e53e 100644
(file)
--- a/
test/bdd/steps/steps_api_queries.py
+++ b/
test/bdd/steps/steps_api_queries.py
@@
-243,7
+243,7
@@
def step_impl(context, fmt):
try:
tree = ET.fromstring(context.response.page)
except Exception as ex:
- assert False, f"Could not parse page:\n{context.response.page}"
+ assert False, f"Could not parse page:
{ex}
\n{context.response.page}"
assert tree.tag == 'html'
body = tree.find('./body')