summaryrefslogtreecommitdiff
path: root/test/TestPlayBook.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/TestPlayBook.py')
-rw-r--r--test/TestPlayBook.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py
index 8a4ceb9584..fcee39db4f 100644
--- a/test/TestPlayBook.py
+++ b/test/TestPlayBook.py
@@ -393,6 +393,23 @@ class TestPlaybook(unittest.TestCase):
assert utils.jsonify(expected, format=True) == utils.jsonify(actual,format=True)
+ def test_recursive_copy(self):
+ pb = 'test/playbook-recursive-copy.yml'
+ actual = self._run(pb)
+
+ expected = {
+ "localhost": {
+ "changed": 65,
+ "failures": 0,
+ "ok": 73,
+ "skipped": 0,
+ "unreachable": 0
+ }
+ }
+
+ assert utils.jsonify(expected, format=True) == utils.jsonify(actual,format=True)
+
+
def _compare_file_output(self, filename, expected_lines):
actual_lines = []
with open(filename) as f: