-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: Use
pytest-regression
for sphinx extension test
The tests for the Sphinx extension for process specifications worked using a direct comparison of the parsed XML file. Although this worked fine, we have the `pytest-regressions` plugin for this which handles this automatically, including a useful switch `--force-regen` to regenerate the reference file if it is supposed to change.
- Loading branch information
Showing
3 changed files
with
21 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...sphinxext/reference_results/workchain.xml → ...t/test_workchain/test_workchain_build.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters