Skip to content

WIP: corporate_identity_test: relax html snapshot test

Jérome Perrin requested to merge feat/lxml-html-snapshot into master

Instead of testing that the produced html is byte-to-byte identical to the expected snapshot, use lxml's doctest support1 to compare, so that we can tolerate differences in whitespaces and also order of attributes.

Also make this test a bit easier to debug by dumping html in the test log folders.

Edited by Jérome Perrin

Merge request reports