Commit 1545c73d by Toshio Kuratomi Committed by James Cammarata

Make test for skipping agree with the way current output formats a skip

parent bff88271
...@@ -276,8 +276,9 @@ ...@@ -276,8 +276,9 @@
- name: assert the task was skipped - name: assert the task was skipped
assert: assert:
that: that:
- "'skipped' in result" - "result.results|length == 1"
- result.results.skipped - "'skipped' in result.results[0]"
- "result.results[0].skipped == True"
- name: test a with_items loop skipping a single item - name: test a with_items loop skipping a single item
debug: var=item debug: var=item
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment