mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-23 05:10:29 -07:00
test fixes from items -> resources migration (#282)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
07815ee1a8
commit
69089b68d4
9 changed files with 18 additions and 18 deletions
|
@ -61,7 +61,7 @@
|
|||
- name: verify that command succeeded
|
||||
assert:
|
||||
that:
|
||||
- "'my-cluster' in \"{{ results['items'] | map(attribute='name') | list }}\""
|
||||
- "'my-cluster' in \"{{ results['resources'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: create a cluster that already exists
|
||||
gcp_container_cluster:
|
||||
|
@ -116,7 +116,7 @@
|
|||
- name: verify that command succeeded
|
||||
assert:
|
||||
that:
|
||||
- "'my-cluster' not in \"{{ results['items'] | map(attribute='name') | list }}\""
|
||||
- "'my-cluster' not in \"{{ results['resources'] | map(attribute='name') | list }}\""
|
||||
# ----------------------------------------------------------------------------
|
||||
- name: delete a cluster that does not exist
|
||||
gcp_container_cluster:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue