Marks starting with "with" or "without" make more sense linguistically
than those starting with "have" or "have_not".
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"
)
requests = pytest.importorskip("requests")
pytestmark = [
- isctest.mark.have_json_c,
+ isctest.mark.with_json_c,
pytest.mark.extra_artifacts(
[
"ns2/*.jnl",
requests = pytest.importorskip("requests")
pytestmark = [
- isctest.mark.have_libxml2,
+ isctest.mark.with_libxml2,
pytest.mark.extra_artifacts(
[
"ns2/K*",