tests: pin that the HTML tree carries branch paths like the text tree
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYNdaGDrpaqDyT8QtrTQbM
This commit is contained in:
parent
a7db279fb0
commit
a99ccd5de8
1 changed files with 2 additions and 0 deletions
|
|
@ -351,6 +351,8 @@ def test_text_and_html_render(report, tmp_path):
|
|||
page = conandeps.render_html(report)
|
||||
assert page.startswith("<!DOCTYPE html>") and 'class="missing"' in page
|
||||
assert page.count("<table>") == 3 # dependencies, missing binaries, overrides
|
||||
# The HTML tree is the text tree verbatim, paths included.
|
||||
assert "[libfoo -> libbar -> libdeep]" in page
|
||||
assert 'class="explicit"' in page and 'class="implicit"' in page
|
||||
assert "<script" not in page # self-contained, static
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue