More ssh test skips on python < 3.9

This commit is contained in:
Daniel A. Wozniak 2025-02-19 14:07:14 -07:00
parent d9652b9a1c
commit 2d2f829920
4 changed files with 18 additions and 0 deletions

View file

@ -11,11 +11,15 @@ import json
import pytest
import salt.utils.dictupdate
from tests.pytests.integration.ssh import check_system_python_version
pytestmark = [
pytest.mark.skip_on_windows(reason="salt-ssh not available on Windows"),
pytest.mark.usefixtures("pillar_tree_nested"),
pytest.mark.slow_test,
pytest.mark.skipif(
not check_system_python_version(), reason="Needs system python >= 3.9"
),
]

View file

@ -6,10 +6,14 @@ the return value.
import pytest
from salt.defaults.exitcodes import EX_AGGREGATE
from tests.pytests.integration.ssh import check_system_python_version
pytestmark = [
pytest.mark.skip_on_windows(reason="salt-ssh not available on Windows"),
pytest.mark.slow_test,
pytest.mark.skipif(
not check_system_python_version(), reason="Needs system python >= 3.9"
),
]

View file

@ -1,8 +1,13 @@
import pytest
from tests.pytests.integration.ssh import check_system_python_version
pytestmark = [
pytest.mark.skip_on_windows(reason="salt-ssh not available on Windows"),
pytest.mark.slow_test,
pytest.mark.skipif(
not check_system_python_version(), reason="Needs system python >= 3.9"
),
]

View file

@ -6,9 +6,14 @@ sls files importing them.
import pytest
from tests.pytests.integration.ssh import check_system_python_version
pytestmark = [
pytest.mark.skip_on_windows(reason="salt-ssh not available on Windows"),
pytest.mark.slow_test,
pytest.mark.skipif(
not check_system_python_version(), reason="Needs system python >= 3.9"
),
]