mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-06 14:14:22 -07:00
[stable-6] Fix bad expressions in tests (#7627)
* Fix bad expressions in tests (#7625) * Fix bad expressions in tests. ci_complete * Disable cmd_runner integration tests. ci_complete * Another bad expression. ci_complete (cherry picked from commit3b779ecade
) * Fix osx_defaults tests (#7631) Fix osx_defaults tests. (cherry picked from commitdbba0d1956
)
This commit is contained in:
parent
e6c2a12a4a
commit
1f60829b9d
7 changed files with 42 additions and 27 deletions
|
@ -21,7 +21,7 @@
|
|||
- name: Test if state and value are required together
|
||||
assert:
|
||||
that:
|
||||
- "'following are missing: value' in '{{ missing_value['msg'] }}'"
|
||||
- "'following are missing: value' in missing_value['msg']"
|
||||
|
||||
- name: Change value of AppleMeasurementUnits to centimeter in check_mode
|
||||
osx_defaults:
|
||||
|
@ -194,7 +194,7 @@
|
|||
register: test_data_types
|
||||
|
||||
- assert:
|
||||
that: "{{ item.changed }}"
|
||||
that: "item is changed"
|
||||
with_items: "{{ test_data_types.results }}"
|
||||
|
||||
- name: Use different data types and delete them
|
||||
|
@ -208,7 +208,7 @@
|
|||
register: test_data_types
|
||||
|
||||
- assert:
|
||||
that: "{{ item.changed }}"
|
||||
that: "item is changed"
|
||||
with_items: "{{ test_data_types.results }}"
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue