]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Rename have_* marks to with_*
authorMichal Nowak <mnowak@isc.org>
Fri, 11 Oct 2024 09:30:26 +0000 (11:30 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 24 Jan 2025 08:56:36 +0000 (08:56 +0000)
Marks starting with "with" or "without" make more sense linguistically
than those starting with "have" or "have_not".

(cherry picked from commit df7e9f4ac31a0d31b6c70db7cc30232f980e06fe)

bin/tests/system/isctest/mark.py
bin/tests/system/statschannel/tests_json.py
bin/tests/system/statschannel/tests_xml.py

index e3b8528d646d00a912434178d70e4f41acfcee73..96239d0d0f80c25175f6f4325bf517504f04440a 100644 (file)
@@ -59,11 +59,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"
 )
 
index 62f8bcab14e7a106c2ced5ea330d99b0341d00e2..ddd6d6210a2c753197a41f1579036aa4e494717b 100755 (executable)
@@ -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",
index e301f6bf60107e24f6f30e1a038bec62cf2fa9cb..4271636101cddd125e112d1ad9884737a713cc3c 100755 (executable)
@@ -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*",