mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Forgot to add an assertion for the new rsync_path test
This commit is contained in:
parent
cf54098dab
commit
dc4f198bad
1 changed files with 11 additions and 0 deletions
|
@ -62,3 +62,14 @@
|
|||
register: sync_result
|
||||
|
||||
- debug: var=sync_result
|
||||
- assert:
|
||||
that:
|
||||
- "'changed' in sync_result"
|
||||
- "sync_result.changed == true"
|
||||
- "'cmd' in sync_result"
|
||||
- "'rsync' in sync_result.cmd"
|
||||
- "'rsync_path' in sync_result.cmd"
|
||||
- "'msg' in sync_result"
|
||||
- "sync_result.msg.startswith('>f+')"
|
||||
- "sync_result.msg.endswith('+ foo.txt\n')"
|
||||
|
||||
|
|
Loading…
Reference in a new issue