From 761c576bf5612166cbf0e68dc4bff511ea20b549 Mon Sep 17 00:00:00 2001 From: dmurphy18 Date: Tue, 18 Jun 2024 15:23:59 -0600 Subject: [PATCH] Rearranging tests --- tests/pytests/pkg/upgrade/test_salt_upgrade.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/pytests/pkg/upgrade/test_salt_upgrade.py b/tests/pytests/pkg/upgrade/test_salt_upgrade.py index 713484c6f08..79e7c259fb4 100644 --- a/tests/pytests/pkg/upgrade/test_salt_upgrade.py +++ b/tests/pytests/pkg/upgrade/test_salt_upgrade.py @@ -119,6 +119,9 @@ def test_salt_upgrade(salt_call_cli, install_salt): """ Test an upgrade of Salt, Minion and Master """ + if not install_salt.upgrade: + pytest.skip("Not testing an upgrade, do not run") + if install_salt.relenv: original_py_version = install_salt.package_python_version()