Temporary skip tests on PhotonOS 5

This commit is contained in:
Pedro Algarvio 2024-05-14 21:13:16 +01:00
parent 979261d688
commit 7762814c72
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -169,7 +169,10 @@ def docker_container(states):
@pytest.fixture(scope="module")
def image(tmp_path_factory):
def image(grains, tmp_path_factory):
if grains["os"] == "VMware Photon OS" and grains["osmajorrelease"] == 5:
pytest.skip(f"Temporary skip on {grains['osfinger']}")
if not salt.utils.path.which("docker"):
# Somehow the above skip_if_binaries_missing marker for docker
# only get's evaluated after this fixture?!?