mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
cloudstack: fix tests unhashable type: 'dict'
This commit is contained in:
parent
8f3c181d90
commit
9d3577a74a
4 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- ag|failed
|
- ag|failed
|
||||||
- ag.msg == "missing required arguments: name"
|
- "ag.msg == 'missing required arguments: name'"
|
||||||
|
|
||||||
- name: test present affinity group
|
- name: test present affinity group
|
||||||
cs_affinitygroup: name={{ cs_resource_prefix }}_ag
|
cs_affinitygroup: name={{ cs_resource_prefix }}_ag
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- ig|failed
|
- ig|failed
|
||||||
- ig.msg == "missing required arguments: name"
|
- "ig.msg == 'missing required arguments: name'"
|
||||||
|
|
||||||
- name: test present instance group
|
- name: test present instance group
|
||||||
cs_instancegroup: name={{ cs_resource_prefix }}_ig
|
cs_instancegroup: name={{ cs_resource_prefix }}_ig
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- sg|failed
|
- sg|failed
|
||||||
- sg.msg == "missing required arguments: name"
|
- "sg.msg == 'missing required arguments: name'"
|
||||||
|
|
||||||
- name: test present security group
|
- name: test present security group
|
||||||
cs_securitygroup: name={{ cs_resource_prefix }}_sg
|
cs_securitygroup: name={{ cs_resource_prefix }}_sg
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- sshkey|failed
|
- sshkey|failed
|
||||||
- sshkey.msg == "missing required arguments: name"
|
- "sshkey.msg == 'missing required arguments: name'"
|
||||||
|
|
||||||
- name: test ssh key creation
|
- name: test ssh key creation
|
||||||
cs_sshkeypair: name={{ cs_resource_prefix }}-sshkey
|
cs_sshkeypair: name={{ cs_resource_prefix }}-sshkey
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue