mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
* Replaced ".changed ==" with "is [not] changed". Same for failed
* Mr Quote refused to go
(cherry picked from commit d7e55db99b
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
4006db89bf
commit
e21ddcb5b6
69 changed files with 220 additions and 220 deletions
|
@ -11,7 +11,7 @@
|
|||
- name: Verify addition test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "addition_result.changed == true"
|
||||
- addition_result is changed
|
||||
msg: "state=present shall add flatpak when absent"
|
||||
|
||||
- name: Test idempotency of addition - {{ method }}
|
||||
|
@ -25,7 +25,7 @@
|
|||
- name: Verify idempotency of addition test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "double_addition_result.changed == false"
|
||||
- double_addition_result is not changed
|
||||
msg: "state=present shall not do anything when flatpak is already present"
|
||||
|
||||
# state=absent
|
||||
|
@ -40,7 +40,7 @@
|
|||
- name: Verify removal test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "removal_result.changed == true"
|
||||
- removal_result is changed
|
||||
msg: "state=absent shall remove flatpak when present"
|
||||
|
||||
- name: Test idempotency of removal - {{ method }}
|
||||
|
@ -53,7 +53,7 @@
|
|||
- name: Verify idempotency of removal test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "double_removal_result.changed == false"
|
||||
- double_removal_result is not changed
|
||||
msg: "state=absent shall not do anything when flatpak is not present"
|
||||
|
||||
# state=present with url as name
|
||||
|
@ -69,7 +69,7 @@
|
|||
- name: Verify addition test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "url_addition_result.changed == true"
|
||||
- url_addition_result is changed
|
||||
msg: "state=present with url as name shall add flatpak when absent"
|
||||
|
||||
- name: Test idempotency of addition with url - {{ method }}
|
||||
|
@ -83,7 +83,7 @@
|
|||
- name: Verify idempotency of addition with url test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "double_url_addition_result.changed == false"
|
||||
- double_url_addition_result is not changed
|
||||
msg: "state=present with url as name shall not do anything when flatpak is already present"
|
||||
|
||||
# state=absent with url as name
|
||||
|
@ -98,7 +98,7 @@
|
|||
- name: Verify removal test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "url_removal_result.changed == true"
|
||||
- url_removal_result is changed
|
||||
msg: "state=absent with url as name shall remove flatpak when present"
|
||||
|
||||
- name: Test idempotency of removal with url - {{ method }}
|
||||
|
@ -111,5 +111,5 @@
|
|||
- name: Verify idempotency of removal with url test result - {{ method }}
|
||||
assert:
|
||||
that:
|
||||
- "double_url_removal_result.changed == false"
|
||||
- double_url_removal_result is not changed
|
||||
msg: "state=absent with url as name shall not do anything when flatpak is not present"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue