]> git.ipfire.org Git - thirdparty/patchwork.git/commit
tests: Add tests for new functionality
authorAdam Hassick <ahassick@iol.unh.edu>
Thu, 30 Jan 2025 19:56:39 +0000 (14:56 -0500)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 22:31:21 +0000 (22:31 +0000)
commit8fb05afe469b512f59e9f95a4b60f11e51cd0ead
treeaa2845ad7654127f0b82007efaa593f83d45a17c
parentbc2d1b1dcf89c619e027ae4dfd3036cba30e5583
tests: Add tests for new functionality

* Add tests for the API and parser changes.
* Add new test mbox files.
* Add new patch series tests.
* Add test to check that dependencies are not shown when disabled.

Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Acked-by: Aaron Conole <aconole@redhat.com>
[stephenfin: Rename Project field from parse_dependencies to
             show_dependencies. Add some additional tests]
Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/tests/api/test_project.py
patchwork/tests/api/test_series.py
patchwork/tests/series/dependency-base-patch.mbox [new file with mode: 0644]
patchwork/tests/series/dependency-multi-2.mbox.template [new file with mode: 0644]
patchwork/tests/series/dependency-multi.mbox.template [new file with mode: 0644]
patchwork/tests/series/dependency-one-cover.mbox.template [new file with mode: 0644]
patchwork/tests/series/dependency-one-first-patch.mbox.template [new file with mode: 0644]
patchwork/tests/test_parser.py
patchwork/tests/test_series.py