mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Update tests for required_if changes
These tests are doing string matches on the error condition. Update them to match the new strings. This is probably okay to push out to old releases even though it's technically backwards incompatible because production playbooks won't be checking that a parameter was missing. Param missing is something detected and fixed while writing the playbook.
This commit is contained in:
parent
8c41fee7bf
commit
638de22b35
9 changed files with 11 additions and 11 deletions
|
@ -18,7 +18,7 @@
|
|||
assert:
|
||||
that:
|
||||
- host|failed
|
||||
- 'host.msg == "missing required arguments: password,username,hypervisor,pod"'
|
||||
- 'host.msg == "missing required arguments: password, username, hypervisor, pod"'
|
||||
|
||||
- name: test create a host in check mode
|
||||
cs_host:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue