mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Removing cruft leftover from the deprecation of include+with_items
Also cleaning up integration tests that had checks for the empty item attribute in certain results. Fixes #7535
This commit is contained in:
@@ -63,7 +63,6 @@
|
||||
that:
|
||||
- "'invocation' in apt_result"
|
||||
- "'changed' in apt_result"
|
||||
- "'item' in apt_result"
|
||||
- "'stderr' in apt_result"
|
||||
- "'stdout' in apt_result"
|
||||
- "'stdout_lines' in apt_result"
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
- "'end' in async_result"
|
||||
- "'finished' in async_result"
|
||||
- "'invocation' in async_result"
|
||||
- "'item' in async_result"
|
||||
- "'rc' in async_result"
|
||||
- "'start' in async_result"
|
||||
- "'stderr' in async_result"
|
||||
|
||||
@@ -191,7 +191,6 @@
|
||||
that:
|
||||
- 'result.changed'
|
||||
- 'result.group_id.startswith("sg-")'
|
||||
- 'result.item == ""'
|
||||
|
||||
# ============================================================
|
||||
- name: test state=present (expected changed=false)
|
||||
@@ -209,7 +208,6 @@
|
||||
that:
|
||||
- 'not result.changed'
|
||||
- 'result.group_id.startswith("sg-")'
|
||||
- 'result.item == ""'
|
||||
|
||||
# ============================================================
|
||||
- name: test state=absent (expected changed=true)
|
||||
@@ -228,7 +226,6 @@
|
||||
that:
|
||||
- 'result.changed'
|
||||
- 'not result.group_id'
|
||||
- 'result.item == ""'
|
||||
|
||||
# ============================================================
|
||||
- name: test state=absent (expected changed=false)
|
||||
@@ -247,4 +244,3 @@
|
||||
that:
|
||||
- 'not result.changed'
|
||||
- 'not result.group_id'
|
||||
- 'result.item == ""'
|
||||
|
||||
@@ -69,7 +69,6 @@
|
||||
that:
|
||||
- "'invocation' in yum_result"
|
||||
- "'changed' in yum_result"
|
||||
- "'item' in yum_result"
|
||||
- "'msg' in yum_result"
|
||||
- "'rc' in yum_result"
|
||||
- "'results' in yum_result"
|
||||
|
||||
Reference in New Issue
Block a user