mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
sanity fix in tests
This commit is contained in:
parent
0a58f59906
commit
48c2e9310e
1 changed files with 4 additions and 2 deletions
|
|
@ -346,7 +346,8 @@
|
|||
quiet: true
|
||||
register: sync_result
|
||||
|
||||
- assert:
|
||||
- name: Assertion for synchronize with quiet option
|
||||
assert:
|
||||
that:
|
||||
- '''files/directories have been synchronized'' in sync_result.msg'
|
||||
|
||||
|
|
@ -364,7 +365,8 @@
|
|||
dest: '{{ output_dir }}/foo.result'
|
||||
register: sync_result
|
||||
|
||||
- assert:
|
||||
- name: Assertion for synchronize without quiet option
|
||||
assert:
|
||||
that:
|
||||
- '''files/directories have been synchronized'' not in sync_result.msg'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue