mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 22:30: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
|
@ -18,8 +18,8 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- "{{ get_status_0002.changed == True }}"
|
||||
- "{{ get_status_0002.issue_status == 'closed' }}"
|
||||
- get_status_0002 is changed
|
||||
- get_status_0002.issue_status == 'closed'
|
||||
|
||||
- name: Check if GitHub issue is closed or not
|
||||
github_issue:
|
||||
|
@ -32,6 +32,6 @@
|
|||
|
||||
- assert:
|
||||
that:
|
||||
- "{{ get_status_0003.changed == False }}"
|
||||
- "{{ get_status_0003.failed == True }}"
|
||||
- "{{ 'Failed' in get_status_0003.msg }}"
|
||||
- get_status_0003 is not changed
|
||||
- get_status_0003 is failed
|
||||
- "'Failed' in get_status_0003.msg"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue