summaryrefslogtreecommitdiff
path: root/test/TestPlayBook.py
diff options
context:
space:
mode:
authorJayson Vantuyl <jayson@aggressive.ly>2013-01-08 12:13:25 -0800
committerJayson Vantuyl <jayson@aggressive.ly>2013-01-09 15:30:24 -0800
commit13ddd39db99706a4a0775b5d610a104559e7666d (patch)
treeaccf0a2f14559ac28660b753680c5864a525f17e /test/TestPlayBook.py
parentb57b1f4cbe2b67cc84138bc600cbfdca498d0f01 (diff)
downloadansible-13ddd39db99706a4a0775b5d610a104559e7666d.tar.gz
add with_sequence lookup plugin
Plugin allows you to do easy counts for items.
Diffstat (limited to 'test/TestPlayBook.py')
-rw-r--r--test/TestPlayBook.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/TestPlayBook.py b/test/TestPlayBook.py
index 5fa63eb623..1403edb8f3 100644
--- a/test/TestPlayBook.py
+++ b/test/TestPlayBook.py
@@ -172,9 +172,9 @@ class TestPlaybook(unittest.TestCase):
print utils.jsonify(actual, format=True)
expected = {
"localhost": {
- "changed": 7,
+ "changed": 9,
"failures": 0,
- "ok": 9,
+ "ok": 14,
"skipped": 1,
"unreachable": 0
}
@@ -185,7 +185,7 @@ class TestPlaybook(unittest.TestCase):
assert utils.jsonify(expected, format=True) == utils.jsonify(actual,format=True)
print "len(EVENTS) = %d" % len(EVENTS)
- assert len(EVENTS) == 26
+ assert len(EVENTS) == 60
def test_includes(self):
pb = os.path.join(self.test_dir, 'playbook-includer.yml')