Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update vlan paramater template test for BZ:2075358 #13160

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/foreman/api/test_provisioningtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down