mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
chg: test: Make extra_artifacts check optional
There is an ongoing debate about the usefulness of the extra artifacts check. While it might be useful to detect unexpected behaviour in some tests, it feels extraneous in many cases. This change provides a middle ground by making the artifact checking optional. This might be especially useful for writing new tests, since the author gets to decide whether the check is useful -- and can utilize it, or can skip it for sake of brevity. Merge branch 'nicki/make-extra-artifacts-check-optional' into 'main' See merge request isc-projects/bind9!10622
This commit is contained in:
commit
ecedefa40a
@ -331,7 +331,7 @@ def expected_artifacts(request):
|
||||
if test_specific_artifacts:
|
||||
return common_artifacts + test_specific_artifacts.args[0]
|
||||
|
||||
return common_artifacts
|
||||
return None
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
|
Loading…
x
Reference in New Issue
Block a user