clarify playbook tests (#80073)

pull/80122/head
Sandra McCann 2 years ago committed by GitHub
parent 841b71c94f
commit 0521184337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -462,10 +462,10 @@ When looking to determine types, it may be tempting to use the ``type_debug`` fi
assert: assert:
that: that:
# Note that a string is classed as also being "iterable" and "sequence", but not "mapping" # Note that a string is classed as also being "iterable" and "sequence", but not "mapping"
- a_string is string - a_string is string and a_string is iterable and a_string is sequence and a_string is not mapping
# Note that a dictionary is classed as not being a "string", but is "iterable", "sequence" and "mapping" # Note that a dictionary is classed as not being a "string", but is "iterable", "sequence" and "mapping"
- a_dictionary is not string and a_dictionary is mapping - a_dictionary is not string and a_dictionary is iterable and a_dictionary is mapping
# Note that a list is classed as not being a "string" or "mapping" but is "iterable" and "sequence" # Note that a list is classed as not being a "string" or "mapping" but is "iterable" and "sequence"
- a_list is not string and a_list is not mapping and a_list is iterable - a_list is not string and a_list is not mapping and a_list is iterable

Loading…
Cancel
Save