From: Michal Nowak Date: Fri, 11 Oct 2024 09:30:26 +0000 (+0200) Subject: Rename have_* marks to with_* X-Git-Tag: v9.21.5~30^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7e9f4ac31a0d31b6c70db7cc30232f980e06fe;p=thirdparty%2Fbind9.git Rename have_* marks to with_* Marks starting with "with" or "without" make more sense linguistically than those starting with "have" or "have_not". --- diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py index ac5480834c9..43c4629e435 100644 --- a/bin/tests/system/isctest/mark.py +++ b/bin/tests/system/isctest/mark.py @@ -45,11 +45,11 @@ without_fips = pytest.mark.skipif( feature_test("--have-fips-mode"), reason="FIPS support enabled in the build" ) -have_libxml2 = pytest.mark.skipif( +with_libxml2 = pytest.mark.skipif( not feature_test("--have-libxml2"), reason="libxml2 support disabled in the build" ) -have_json_c = pytest.mark.skipif( +with_json_c = pytest.mark.skipif( not feature_test("--have-json-c"), reason="json-c support disabled in the build" ) diff --git a/bin/tests/system/statschannel/tests_json.py b/bin/tests/system/statschannel/tests_json.py index 62f8bcab14e..ddd6d6210a2 100755 --- a/bin/tests/system/statschannel/tests_json.py +++ b/bin/tests/system/statschannel/tests_json.py @@ -23,7 +23,7 @@ import generic requests = pytest.importorskip("requests") pytestmark = [ - isctest.mark.have_json_c, + isctest.mark.with_json_c, pytest.mark.extra_artifacts( [ "ns2/*.jnl", diff --git a/bin/tests/system/statschannel/tests_xml.py b/bin/tests/system/statschannel/tests_xml.py index e301f6bf601..4271636101c 100755 --- a/bin/tests/system/statschannel/tests_xml.py +++ b/bin/tests/system/statschannel/tests_xml.py @@ -24,7 +24,7 @@ import generic requests = pytest.importorskip("requests") pytestmark = [ - isctest.mark.have_libxml2, + isctest.mark.with_libxml2, pytest.mark.extra_artifacts( [ "ns2/K*",