mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 00:31:14 +00:00
[PR #7631/dbba0d19 backport][stable-8] Fix osx_defaults tests (#7633)
Fix osx_defaults tests (#7631)
Fix osx_defaults tests.
(cherry picked from commit dbba0d1956)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user