From d18fbb9631c41b503be40d93767ec148e37d341c Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Sun, 17 Dec 2023 20:18:14 -0700 Subject: [PATCH] Skip RC test on Photon OS --- tests/pytests/pkg/integration/test_version.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytests/pkg/integration/test_version.py b/tests/pytests/pkg/integration/test_version.py index 89a7e83db069..713b73d78eb9 100644 --- a/tests/pytests/pkg/integration/test_version.py +++ b/tests/pytests/pkg/integration/test_version.py @@ -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]