mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user