2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 08:05:21 +00:00

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 df7e9f4ac3)
This commit is contained in:
Michal Nowak
2024-10-11 11:30:26 +02:00
parent e7a469133c
commit d2c8694930
3 changed files with 4 additions and 4 deletions

View File

@@ -59,11 +59,11 @@ without_fips = pytest.mark.skipif(
feature_test("--have-fips-mode"), reason="FIPS support enabled in the build" 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" 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" not feature_test("--have-json-c"), reason="json-c support disabled in the build"
) )

View File

@@ -23,7 +23,7 @@ import generic
requests = pytest.importorskip("requests") requests = pytest.importorskip("requests")
pytestmark = [ pytestmark = [
isctest.mark.have_json_c, isctest.mark.with_json_c,
pytest.mark.extra_artifacts( pytest.mark.extra_artifacts(
[ [
"ns2/*.jnl", "ns2/*.jnl",

View File

@@ -24,7 +24,7 @@ import generic
requests = pytest.importorskip("requests") requests = pytest.importorskip("requests")
pytestmark = [ pytestmark = [
isctest.mark.have_libxml2, isctest.mark.with_libxml2,
pytest.mark.extra_artifacts( pytest.mark.extra_artifacts(
[ [
"ns2/K*", "ns2/K*",