From 68d36a03d012bd2834ec99aa9158551e7b9be130 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Tue, 3 Dec 2024 13:15:23 +0100 Subject: [PATCH] adjusting oscap tests for rhel10 --- tests/foreman/longrun/test_oscap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/foreman/longrun/test_oscap.py b/tests/foreman/longrun/test_oscap.py index 710be7b83b9..c8370e95b66 100644 --- a/tests/foreman/longrun/test_oscap.py +++ b/tests/foreman/longrun/test_oscap.py @@ -28,21 +28,25 @@ from robottelo.logging import logger ak_name = { + 'rhel10': f'ak_{gen_string("alpha")}_rhel10', 'rhel9': f'ak_{gen_string("alpha")}_rhel9', 'rhel8': f'ak_{gen_string("alpha")}_rhel8', 'rhel7': f'ak_{gen_string("alpha")}_rhel7', } cv_name = { + 'rhel10': f'cv_{gen_string("alpha")}_rhel10', 'rhel9': f'cv_{gen_string("alpha")}_rhel9', 'rhel8': f'cv_{gen_string("alpha")}_rhel8', 'rhel7': f'cv_{gen_string("alpha")}_rhel7', } profiles = { + 'rhel10': OSCAP_PROFILE['cbrhel10'], 'rhel9': OSCAP_PROFILE['cbrhel9'], 'rhel8': OSCAP_PROFILE['ospp8'], 'rhel7': OSCAP_PROFILE['security7'], } rhel_repos = { + 'rhel10': settings.repos.rhel10_os, 'rhel9': settings.repos.rhel9_os, 'rhel8': settings.repos.rhel8_os, 'rhel7': settings.repos.rhel7_os,