Update to use 'darwin' for MacOS

This commit is contained in:
David Murphy 2024-07-12 15:53:00 -06:00 committed by Daniel Wozniak
parent 98d7acdeb8
commit 830a69e75d

View file

@ -33,7 +33,7 @@ def test_salt_downgrade_minion(salt_call_cli, install_salt):
install_salt.prev_version
) < packaging.version.parse("3006.9")
if is_restart_fixed and install_salt.distro_id in ("ubuntu", "debian", "macos"):
if is_restart_fixed and install_salt.distro_id in ("ubuntu", "debian", "darwin"):
pytest.skip(
"Skip package test, since downgrade version is less than "
"3006.9 which had fixes for salt-minion restarting, see PR 66218"