Skip to content

Commit

Permalink
[6.16.z] Fix tests post Upgrade Fabric Removal from Rocket Team (Sate…
Browse files Browse the repository at this point in the history
  • Loading branch information
Satellite-QE authored Aug 27, 2024
1 parent d50582b commit b053c37
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions tests/upgrades/test_provisioningtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
"""

import json

from fauxfactory import gen_string
import pytest

Expand Down Expand Up @@ -74,12 +76,12 @@ def test_pre_scenario_provisioning_templates(
for kind in provisioning_template_kinds:
assert host.read_template(data={'template_kind': kind})

save_test_data(
{
'provision_host_id': host.id,
'pxe_loader': pxe_loader.pxe_loader,
}
)
pre_update_data_dict = {
'provision_host_id': host.id,
'pxe_loader': pxe_loader.pxe_loader,
}
pre_update_json_file = json.dumps(pre_update_data_dict, indent=2)
save_test_data(pre_update_json_file)

@pytest.mark.post_upgrade(depend_on=test_pre_scenario_provisioning_templates)
@pytest.mark.parametrize('pre_upgrade_data', ['bios', 'uefi'], indirect=True)
Expand Down

0 comments on commit b053c37

Please sign in to comment.