From 20a9d120aaac72c0579a46c8a480eb7d3701fb40 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 23 Apr 2023 20:59:27 +0200 Subject: [PATCH] [PR #6403/eab39ffc backport][stable-6] iso_customize: fix integration test (#6425) iso_customize: fix integration test (#6403) * Fix bad parameters in integration test. * Remove unrelated thing. * Simply remove test. (cherry picked from commit eab39ffc23726c1d6a7f2310278d91277d912403) Co-authored-by: Felix Fontein --- tests/integration/targets/iso_create/tasks/main.yml | 1 - .../iso_customize/tasks/iso_customize_exception.yml | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/tests/integration/targets/iso_create/tasks/main.yml b/tests/integration/targets/iso_create/tasks/main.yml index b6bd930354..d53217bd38 100644 --- a/tests/integration/targets/iso_create/tasks/main.yml +++ b/tests/integration/targets/iso_create/tasks/main.yml @@ -10,7 +10,6 @@ - name: install pycdlib pip: name: pycdlib - # state: latest extra_args: "-c {{ remote_constraints }}" register: install_pycdlib - debug: var=install_pycdlib diff --git a/tests/integration/targets/iso_customize/tasks/iso_customize_exception.yml b/tests/integration/targets/iso_customize/tasks/iso_customize_exception.yml index 6716f9e1b4..b2130bb6b0 100644 --- a/tests/integration/targets/iso_customize/tasks/iso_customize_exception.yml +++ b/tests/integration/targets/iso_customize/tasks/iso_customize_exception.yml @@ -17,16 +17,6 @@ register: customized_result failed_when: customized_result.msg.find('does not exist') == -1 -# Test: Get MODULE FAILURE when no add files data and no delete files data -- name: "Testcase:: no add files data and no delete files data" - community.general.iso_customize: - src_iso: "{{ test_dir }}/test1.iso" - dest_iso: "{{ test_dir }}/iso_customize_nodata.iso" - delete_files: - add_files: - register: customized_result - failed_when: customized_result.msg.find("MODULE FAILURE") == -1 - # Test: nothing is changed when no options "add files" and "delete files" - block: - name: "Testcase: no options 'add files' and 'delete files'"