Fix unit test regressions with the latest Python-Markdown.

Review Request #12477 — Created July 18, 2022 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

Our unit tests have been using the Python-Markdown version to determine
what results to expect when rendering. We were using an outdated
variable for this version, and that variable was just removed in this
week's Python-Markdown release.

This change updates our unit tests to check the modern variable. This is
compatible with all supported versions of Python-Markdown.

Unit tests pass for Python 2.7 and 3 with the latest Python-Markdown on
each.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Fix unit test regressions with the latest Python-Markdown.
Our unit tests have been using the Python-Markdown version to determine what results to expect when rendering. We were using an outdated variable for this version, and that variable was just removed in this week's Python-Markdown release. This change updates our unit tests to check the modern variable. This is compatible with all supported versions of Python-Markdown.
0c8fbef062c43be76a295e2527f30399d9ce2248 Christian Hammond
reviewboard/reviews/tests/test_markdown_utils.py
Loading...