From 217504bfc91f05d81ba60e9e95ef9b4918d3d310 Mon Sep 17 00:00:00 2001 From: Venktesh Shivam Patel Date: Tue, 24 Sep 2024 14:43:06 +0100 Subject: [PATCH] add marker to conftest (#6491) --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 64ec0e6d5c..c308d5dcac 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -172,7 +172,7 @@ def pytest_collection_modifyitems(config, items) -> None: if ("-nap" or "-nap-v5") not in config.getoption("--image"): appprotect = pytest.mark.skip(reason="Skip AppProtect test in non-AP image") for item in items: - if "appprotect" in item.keywords: + if ("appprotect" or "appprotect_waf_v5") in item.keywords: item.add_marker(appprotect) if "-dos" not in config.getoption("--image"): dos = pytest.mark.skip(reason="Skip DOS test in non-DOS image")