Skip to content

Commit

Permalink
Skip env check for provider/client setup (#8859)
Browse files Browse the repository at this point in the history
* Skip env check for provider/client setup

Signed-off-by: Elena Bondarenko <[email protected]>
  • Loading branch information
ebondare authored Nov 16, 2023
1 parent 191ef71 commit 065ed15
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1747,9 +1747,14 @@ def environment_checker(request):
return
if mark.name == ignore_leftover_label.name:
exclude_labels.extend(list(mark.args))
if ocsci_config.ENV_DATA["platform"] == constants.FUSIONAAS_PLATFORM:
if ocsci_config.ENV_DATA["platform"] in {
constants.FUSIONAAS_PLATFORM,
constants.HCI_BAREMETAL,
constants.HCI_VSPHERE,
}:
log.error(
"Environment checker is NOT IMPLEMENTED for Fusion service. This needds to be updated"
"Environment checker is NOT IMPLEMENTED for Fusion service and provider/client hci setup."
"This needds to be updated"
)
else:
request.addfinalizer(
Expand Down

0 comments on commit 065ed15

Please sign in to comment.