mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 03:59:59 -04:00
Merge branch '3804-fix-feature-detection-in-pytests' into 'main'
Fix feature detection for pytest markers in tests Closes #3804 See merge request isc-projects/bind9!7383
This commit is contained in:
commit
9c32089fa9
1 changed files with 2 additions and 2 deletions
|
|
@ -34,9 +34,9 @@ def feature_test(feature):
|
|||
|
||||
|
||||
have_libxml2 = pytest.mark.skipif(
|
||||
feature_test("--have-libxml2"), reason="libxml2 support disabled in the build"
|
||||
not feature_test("--have-libxml2"), reason="libxml2 support disabled in the build"
|
||||
)
|
||||
|
||||
have_json_c = pytest.mark.skipif(
|
||||
feature_test("--have-json-c"), reason="json-c support disabled in the build"
|
||||
not feature_test("--have-json-c"), reason="json-c support disabled in the build"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue