From b86f5b40b9729112dd502c178bd271a8e51a8dba Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Wed, 22 Nov 2023 18:10:34 +0530 Subject: [PATCH] Update vlan paramater template test for BZ:2075358 (#13160) Signed-off-by: Gaurav Talreja --- tests/foreman/api/test_provisioningtemplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/api/test_provisioningtemplate.py b/tests/foreman/api/test_provisioningtemplate.py index 26763511774..40e25e696ac 100644 --- a/tests/foreman/api/test_provisioningtemplate.py +++ b/tests/foreman/api/test_provisioningtemplate.py @@ -363,7 +363,7 @@ def test_positive_template_check_vlan_parameter( :expectedresults: The rendered templates should contain the "vlan" parameter expected for respective rhel hosts. - :BZ: 1607706 + :BZ: 1607706, 2075358 :customerscenario: true @@ -409,7 +409,7 @@ def test_positive_template_check_vlan_parameter( provision_template = host.read_template(data={'template_kind': 'provision'})['template'] assert f'interfacename=vlan{tag}' in provision_template ipxe_template = host.read_template(data={'template_kind': 'iPXE'})['template'] - assert f'vlan=vlan{tag}:{identifier}' in ipxe_template + assert f'vlan={identifier}.{tag}:{identifier}' in ipxe_template @pytest.mark.parametrize('module_sync_kickstart_content', [7, 8, 9], indirect=True) @pytest.mark.parametrize('pxe_loader', ['uefi'], indirect=True)