tools: Fix application of blueprint overrides in generate-test-cases
Blueprint overrides from `format-request-map.json` were previously not applied when generating image test cases due to a bug. As a result, there were multiple "blueprint" sections in the generated image test case, if the image type had an override configured. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
777c66458d
commit
463a81550c
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ def main(distro, arch, image_types, keep_image_info, store, output, with_customi
|
|||
filtered_request["compose-request"]["repositories"] = repos_dict[distro][arch]
|
||||
|
||||
if distro in test_case_request["overrides"]:
|
||||
filtered_request.update(test_case_request["overrides"][distro])
|
||||
filtered_request["compose-request"].update(test_case_request["overrides"][distro])
|
||||
|
||||
generate_test_case("boot", distro, arch, output_format, filtered_request, keep_image_info, store, output)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue