Skip to content

Commit 217504b

Browse files
authored
add marker to conftest (#6491)
1 parent f9bc296 commit 217504b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def pytest_collection_modifyitems(config, items) -> None:
172172
if ("-nap" or "-nap-v5") not in config.getoption("--image"):
173173
appprotect = pytest.mark.skip(reason="Skip AppProtect test in non-AP image")
174174
for item in items:
175-
if "appprotect" in item.keywords:
175+
if ("appprotect" or "appprotect_waf_v5") in item.keywords:
176176
item.add_marker(appprotect)
177177
if "-dos" not in config.getoption("--image"):
178178
dos = pytest.mark.skip(reason="Skip DOS test in non-DOS image")

0 commit comments

Comments
 (0)