mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
More ssh test skips on python < 3.9
This commit is contained in:
parent
d9652b9a1c
commit
2d2f829920
4 changed files with 18 additions and 0 deletions
|
@ -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"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -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"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -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"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
|
@ -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"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue