1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix osx_defaults tests (#7631)

Fix osx_defaults tests.
This commit is contained in:
Felix Fontein 2023-11-29 07:40:32 +01:00 committed by GitHub
parent 3b779ecade
commit dbba0d1956
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@
- name: Test if state and value are required together - name: Test if state and value are required together
assert: assert:
that: 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 - name: Change value of AppleMeasurementUnits to centimeter in check_mode
osx_defaults: osx_defaults:
@ -194,7 +194,7 @@
register: test_data_types register: test_data_types
- assert: - assert:
that: "{{ item.changed }}" that: "item is changed"
with_items: "{{ test_data_types.results }}" with_items: "{{ test_data_types.results }}"
- name: Use different data types and delete them - name: Use different data types and delete them
@ -208,7 +208,7 @@
register: test_data_types register: test_data_types
- assert: - assert:
that: "{{ item.changed }}" that: "item is changed"
with_items: "{{ test_data_types.results }}" with_items: "{{ test_data_types.results }}"