Skip to content

Instantly share code, notes, and snippets.

@abadger
Created December 4, 2014 18:50
Show Gist options
  • Save abadger/d44b7c80ceaa0454148f to your computer and use it in GitHub Desktop.
Save abadger/d44b7c80ceaa0454148f to your computer and use it in GitHub Desktop.
- name: assert the task was skipped
assert:
that:
- "result.results|length == 1"
- "'skipped' in result.results[0]"
- "result.results[0].skipped == True"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment