Skip to content

Commit

Permalink
Skip RC test on Photon OS
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 18, 2023
1 parent 60b890b commit d18fbb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pytests/pkg/integration/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def test_compare_pkg_versions_redhat_rc(version, install_salt):
package of the same version. For example, v3004~rc1 should be less than
v3004.
"""
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora", "photon"):
# It'd be nice to tests photon too but rpmdev-vercmp is not installed.
if install_salt.distro_id not in ("centos", "redhat", "amzn", "fedora"):
pytest.skip("Only tests rpm packages")

pkg = [x for x in install_salt.pkgs if "rpm" in x]
Expand Down

0 comments on commit d18fbb9

Please sign in to comment.