Let's just skip on Aarch64 instead

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-11-08 17:16:04 +00:00 committed by Pedro Algarvio
parent a09afcba68
commit c13898620a

View file

@ -1,5 +1,4 @@
import pytest
from pytestskipmarkers.utils import platform
pytestmark = [
pytest.mark.slow_test,
@ -7,12 +6,6 @@ pytestmark = [
]
@pytest.fixture
def _skip_on_fips_and_arm64(grains):
if platform.is_fips_enabled() and grains["cpuarch"] == "aarch64":
pytest.skip("Test cannot run on a FIPS enabled platform")
def test_saltcheck_run_test(salt_ssh_cli):
"""
test saltcheck.run_test with salt-ssh
@ -30,7 +23,7 @@ def test_saltcheck_run_test(salt_ssh_cli):
assert ret.data["status"] == "Pass"
@pytest.mark.usefixtures("_skip_on_fips_and_arm64")
@pytest.mark.skip_on_aarch64
def test_saltcheck_state(salt_ssh_cli):
"""
saltcheck.run_state_tests