From d2c8694930f691644e9f1fc9be77779cda9d8c2c Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Fri, 11 Oct 2024 11:30:26 +0200 Subject: [PATCH] Rename have_* marks to with_* 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 | 4 ++-- bin/tests/system/statschannel/tests_json.py | 2 +- bin/tests/system/statschannel/tests_xml.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tests/system/isctest/mark.py b/bin/tests/system/isctest/mark.py index e3b8528d64..96239d0d0f 100644 --- a/bin/tests/system/isctest/mark.py +++ b/bin/tests/system/isctest/mark.py @@ -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" ) diff --git a/bin/tests/system/statschannel/tests_json.py b/bin/tests/system/statschannel/tests_json.py index 62f8bcab14..ddd6d6210a 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 e301f6bf60..4271636101 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*",