mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-10 14:05:07 +00:00
Fix no longer valid constructs in tests (#10543)
Fix no longer valid constructs in tests.
(cherry picked from commit 7298f25fe0)
This commit is contained in:
parent
63ed9a553f
commit
93257c32a8
2 changed files with 5 additions and 4 deletions
|
|
@ -186,7 +186,7 @@
|
|||
- name: ensure configcheck fails task with when run without mpm modules
|
||||
assert:
|
||||
that:
|
||||
- "{{ item.failed }}"
|
||||
- item is failed
|
||||
with_items: "{{ remove_with_configcheck.results }}"
|
||||
|
||||
- name: try to disable all mpm modules without configcheck
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
- name: Assert that the schema output is correct
|
||||
assert:
|
||||
that:
|
||||
- output is not failed
|
||||
- output.results | length >= 1
|
||||
- "{{ 'displayName' in output.results.0.attrs }}"
|
||||
- output is not failed
|
||||
- output.results | length >= 1
|
||||
- >-
|
||||
'displayName' in output.results.0.attrs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue