mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
Massive adjustment in integration tests for changed and failed (#2577)
* Replaced ".changed ==" with "is [not] changed". Same for failed * Mr Quote refused to go
This commit is contained in:
parent
3100c32a00
commit
d7e55db99b
69 changed files with 220 additions and 220 deletions
|
@ -35,7 +35,7 @@
|
|||
- debug: var=iso_file
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == False
|
||||
|
||||
- name: Create iso file with a specified file
|
||||
|
@ -54,7 +54,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
||||
- name: Create iso file with a specified file and folder
|
||||
|
@ -74,10 +74,10 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
||||
- name: Create iso file with volume identification string
|
||||
- name: Create iso file with volume identification string
|
||||
iso_create:
|
||||
src_files:
|
||||
- "{{ role_path }}/files/test1.cfg"
|
||||
|
@ -93,7 +93,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
||||
- name: Create iso file with Rock Ridge extention
|
||||
|
@ -112,7 +112,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
||||
- name: Create iso file with Joliet extention
|
||||
|
@ -131,7 +131,7 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
||||
- name: Create iso file with UDF enabled
|
||||
|
@ -150,5 +150,5 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- iso_result.changed == True
|
||||
- iso_result is changed
|
||||
- iso_file.stat.exists == True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue