1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #6403/eab39ffc backport][stable-5] iso_customize: fix integration test (#6426)

iso_customize: fix integration test (#6403)

* Fix bad parameters in integration test.

* Remove unrelated thing.

* Simply remove test.

(cherry picked from commit eab39ffc23)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2023-04-23 20:59:24 +02:00 committed by GitHub
parent d64e1e8e64
commit 5392e0f1cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 11 deletions

View file

@ -10,7 +10,6 @@
- name: install pycdlib - name: install pycdlib
pip: pip:
name: pycdlib name: pycdlib
# state: latest
extra_args: "-c {{ remote_constraints }}" extra_args: "-c {{ remote_constraints }}"
register: install_pycdlib register: install_pycdlib
- debug: var=install_pycdlib - debug: var=install_pycdlib

View file

@ -17,16 +17,6 @@
register: customized_result register: customized_result
failed_when: customized_result.msg.find('does not exist') == -1 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" # Test: nothing is changed when no options "add files" and "delete files"
- block: - block:
- name: "Testcase: no options 'add files' and 'delete files'" - name: "Testcase: no options 'add files' and 'delete files'"