From 3e436c4e449226374243c1f030fdf7d6306e78ad Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Tue, 10 Dec 2024 23:01:03 +0530 Subject: [PATCH] Add ELS option for convert2rhel for EL7 Signed-off-by: Gaurav Talreja --- tests/foreman/api/test_convert2rhel.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/foreman/api/test_convert2rhel.py b/tests/foreman/api/test_convert2rhel.py index 5ae7a3ed392..addf8c62901 100644 --- a/tests/foreman/api/test_convert2rhel.py +++ b/tests/foreman/api/test_convert2rhel.py @@ -301,6 +301,7 @@ def test_convert2rhel_oracle_with_pre_conversion_template_check( 'inputs': { 'Activation Key': activation_key_rhel.id, 'Restart': 'yes', + 'ELS': 'yes' if major <= '7' else 'no', }, 'targeting_type': 'static_query', 'search_query': f'name = {oracle.hostname}', @@ -392,6 +393,7 @@ def test_convert2rhel_centos_with_pre_conversion_template_check( 'inputs': { 'Activation Key': activation_key_rhel.id, 'Restart': 'yes', + 'ELS': 'yes' if major <= '7' else 'no', }, 'targeting_type': 'static_query', 'search_query': f'name = {centos.hostname}',