Skip to content

Commit

Permalink
add marker to conftest (#6491)
Browse files Browse the repository at this point in the history
  • Loading branch information
vepatel authored Sep 24, 2024
1 parent f9bc296 commit 217504b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 217504b

Please sign in to comment.