Page MenuHomeSoftware Heritage

tests: Fix test_rst_to_html with docutils 0.17
ClosedPublic

Authored by anlambert on Wed, Apr 7, 12:23 PM.

Details

Summary

Freshly released docutils 0.17 produces a different HTML output
than its previous version so ensure to have a rst input that
produces the same HTML output with all docutils versions.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5435 (id=19433)

Rebasing onto fe53dbee8e...

Current branch diff-target is up to date.
Changes applied before test
commit ebc729aebe97819b2bab4575568fef75e8f23d62
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Wed Apr 7 12:22:37 2021 +0200

    tests: Fix test_rst_to_html with docutils 0.17
    
    Freshly released docutils 0.17 produces a different HTML output
    than its previous version so ensure to have a rst input that
    produces the same HTML output with all docutils versions.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/652/ for more details.

This revision is now accepted and ready to land.Wed, Apr 7, 12:39 PM