]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add pytest fixture for checking test artifacts
authorMichał Kępień <michal@isc.org>
Mon, 19 Aug 2024 16:49:08 +0000 (18:49 +0200)
committerNicki Křížek <nicki@isc.org>
Mon, 11 Nov 2024 14:04:52 +0000 (15:04 +0100)
commitddb75fc4d8850eeb964d28f3da37c515e81af285
tree1729ab8803efb0cfcad9018ddd7665154e2cb81a
parentb4a07e6426e0c999ff1645171a2696864c7b8487
Add pytest fixture for checking test artifacts

Prior to introducing the pytest runner, clean.sh files were used as a
list of files that the test is expected to leave around as artifacts and
check that no extra files were created.

With the pytest runner, those scripts are no longer used, but the
ability to detect extraneous files is still useful. Add a new
"extra_artifacts" mark which can be used for the same purpose.

(cherry picked from commit 3a9f4edddcfba0d4d303f0ae6873a9f0c07966d7)
bin/tests/system/conftest.py
bin/tests/system/pytest.ini