]> 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:45:51 +0000 (08:45 +0000)
Marks starting with "with" or "without" make more sense linguistically
than those starting with "have" or "have_not".

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

index ac5480834c9abfe42b17bb36416f152bf7cacef8..43c4629e435b1a92dfcd7381d6ccf7128aca154e 100644 (file)
@@ -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"
 )
 
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*",