Skip to content

Commit

Permalink
Fix for issue # 8840
Browse files Browse the repository at this point in the history
Signed-off-by: suchita-g <[email protected]>

This will fix blocker issue for provider client run
#8840
  • Loading branch information
suchita-g committed Nov 14, 2023
1 parent 1221a13 commit 56e9c8b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,11 @@ def pytest_collection_modifyitems(session, config, items):
log.debug(f"Test: {item} will be skipped due to {skip_condition}")
items.remove(item)
continue
if skipif_upgraded_from_marker:
if (
skipif_upgraded_from_marker
and config.ENV_DATA.get("platform", "").lower()
not in constants.HCI_PROVIDER_CLIENT_PLATFORMS
):
skip_args = skipif_upgraded_from_marker.args
if skipif_upgraded_from(skip_args[0]):
log.debug(
Expand Down

0 comments on commit 56e9c8b

Please sign in to comment.