Skip to content

Commit

Permalink
Updated check version of Salt for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Murphy authored and s0undt3ch committed Nov 9, 2023
1 parent a75f0a9 commit 9f8fc27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/tests/integration/test_salt_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def test_pkg_paths(
Test package paths ownership
"""
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 = []
for _path in pkg_paths:
pkg_path = pathlib.Path(_path)
Expand Down Expand Up @@ -184,9 +184,9 @@ def test_paths_log_rotation(
Assumes test_pkg_paths successful
"""
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"):
pytest.skip(
Expand Down

0 comments on commit 9f8fc27

Please sign in to comment.