mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-02 20:24:23 -07:00
Fix no longer valid constructs in tests (#10543)
Some checks are pending
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
Some checks are pending
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
Fix no longer valid constructs in tests.
This commit is contained in:
parent
3b551f92fc
commit
7298f25fe0
3 changed files with 5 additions and 3 deletions
|
@ -186,7 +186,7 @@
|
||||||
- name: ensure configcheck fails task with when run without mpm modules
|
- name: ensure configcheck fails task with when run without mpm modules
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- "{{ item.failed }}"
|
- item is failed
|
||||||
with_items: "{{ remove_with_configcheck.results }}"
|
with_items: "{{ remove_with_configcheck.results }}"
|
||||||
|
|
||||||
- name: try to disable all mpm modules without configcheck
|
- name: try to disable all mpm modules without configcheck
|
||||||
|
|
|
@ -34,7 +34,8 @@
|
||||||
|
|
||||||
- name: Test that file exists
|
- name: Test that file exists
|
||||||
assert:
|
assert:
|
||||||
that: "{{ item.stat.exists }}"
|
that:
|
||||||
|
- item.stat.exists
|
||||||
quiet: true
|
quiet: true
|
||||||
loop: "{{ result_files_stat.results }}"
|
loop: "{{ result_files_stat.results }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
|
|
@ -22,4 +22,5 @@
|
||||||
that:
|
that:
|
||||||
- output is not failed
|
- output is not failed
|
||||||
- output.results | length >= 1
|
- output.results | length >= 1
|
||||||
- "{{ 'displayName' in output.results.0.attrs }}"
|
- >-
|
||||||
|
'displayName' in output.results.0.attrs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue