• Jérome Perrin's avatar
    tests: update expected HTML/XML produced by page templates · 3231bd21
    Jérome Perrin authored
    With zope.tal 3.6.0 - commit 26fadc4 (Increase the default value of
    the `wrap` argument from 60 to 1023 characters, to avoid extra
    whitespace and line breaks., 2011-08-20) from zopefoundation/zope.tal -
    page templates keep the attributes on the same line and produce
    slightly different output, although equivalent.
    
    This commit updates the places where we do snapshot testing to the
    new output. We discussed using lxml features to compare html and xml
    from https://lxml.de/lxmlhtml.html#running-html-doctests but because
    the corporate identity web pages are invalid html, it seems unsafe
    to rely on lxml at this point. Once corporate identity web pages
    are fixed this would probably be a good thing to do.
    3231bd21
template_test_leaflet_output_expected_002_en_html.html 7.95 KB