From 2c5e9a55654e8a667a18972bd5fc2f0a4e5a5a72 Mon Sep 17 00:00:00 2001 From: Lukas Pramuk Date: Tue, 23 Apr 2024 10:00:28 +0200 Subject: [PATCH] Add coverage for clone from el8 to el9 (#14856) Add clone el8 to el9 --- tests/foreman/destructive/test_clone.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/foreman/destructive/test_clone.py b/tests/foreman/destructive/test_clone.py index 54b5f57b6e5..1ad4cd25f20 100644 --- a/tests/foreman/destructive/test_clone.py +++ b/tests/foreman/destructive/test_clone.py @@ -15,13 +15,18 @@ from robottelo import constants from robottelo.config import settings -from robottelo.hosts import Satellite +from robottelo.hosts import Satellite, get_sat_rhel_version SSH_PASS = settings.server.ssh_password pytestmark = pytest.mark.destructive @pytest.mark.e2e +@pytest.mark.parametrize( + "sat_ready_rhel", + [8, 9] if get_sat_rhel_version().major < 9 else [9], + indirect=True, +) @pytest.mark.parametrize('backup_type', ['online', 'offline']) @pytest.mark.parametrize('skip_pulp', [False, True], ids=['include_pulp', 'skip_pulp']) def test_positive_clone_backup(