mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Updated check version of Salt for the test
This commit is contained in:
parent
a75f0a9f41
commit
9f8fc27cba
1 changed files with 4 additions and 4 deletions
|
@ -136,9 +136,9 @@ def test_pkg_paths(
|
||||||
Test package paths ownership
|
Test package paths ownership
|
||||||
"""
|
"""
|
||||||
if packaging.version.parse(install_salt.version) <= packaging.version.parse(
|
if packaging.version.parse(install_salt.version) <= packaging.version.parse(
|
||||||
"3006.2"
|
"3006.4"
|
||||||
):
|
):
|
||||||
pytest.skip("Package path ownership was changed in salt 3006.3")
|
pytest.skip("Package path ownership was changed in salt 3006.4")
|
||||||
salt_user_subdirs = []
|
salt_user_subdirs = []
|
||||||
for _path in pkg_paths:
|
for _path in pkg_paths:
|
||||||
pkg_path = pathlib.Path(_path)
|
pkg_path = pathlib.Path(_path)
|
||||||
|
@ -184,9 +184,9 @@ def test_paths_log_rotation(
|
||||||
Assumes test_pkg_paths successful
|
Assumes test_pkg_paths successful
|
||||||
"""
|
"""
|
||||||
if packaging.version.parse(install_salt.version) <= packaging.version.parse(
|
if packaging.version.parse(install_salt.version) <= packaging.version.parse(
|
||||||
"3006.3"
|
"3006.4"
|
||||||
):
|
):
|
||||||
pytest.skip("Package path ownership was changed in salt 3006.3")
|
pytest.skip("Package path ownership was changed in salt 3006.4")
|
||||||
|
|
||||||
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora"):
|
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora"):
|
||||||
pytest.skip(
|
pytest.skip(
|
||||||
|
|
Loading…
Add table
Reference in a new issue