diff options
author | James Cammarata <jimi@sngx.net> | 2014-04-29 22:53:08 +0200 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2014-04-29 22:53:32 +0200 |
commit | dc4f198bad6d15c20e4972980f7a230c74c2c25a (patch) | |
tree | afa760f4cbd12c6933c0e0ec003c4b09f26576a1 /test | |
parent | Merge pull request #6984 from clconway/variable-re-doc (diff) | |
download | ansible-dc4f198bad6d15c20e4972980f7a230c74c2c25a.tar.xz ansible-dc4f198bad6d15c20e4972980f7a230c74c2c25a.zip |
Forgot to add an assertion for the new rsync_path test
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/roles/test_synchronize/tasks/main.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/roles/test_synchronize/tasks/main.yml b/test/integration/roles/test_synchronize/tasks/main.yml index 51c8febb13..85622b7419 100644 --- a/test/integration/roles/test_synchronize/tasks/main.yml +++ b/test/integration/roles/test_synchronize/tasks/main.yml @@ -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')" + |