fix azure test case failure for function apps module (#33658)

pull/19132/merge
ZhijunZhao 7 years ago committed by Sam Doran
parent b78ab37a94
commit f8d7e477f0

@ -19,10 +19,13 @@
azure_rm_functionapp_facts:
resource_group: '{{ resource_group }}'
name: azfuncci
register: results
- name: assert the facts were retrieved
assert:
that: '{{ ansible_facts.azure_functionapps|length == 1 }}'
that:
- results.ansible_facts.azure_functionapps|length == 1
- results.ansible_facts.azure_functionapps[0].name == 'azfuncci'
- name: delete basic function app
azure_rm_functionapp:

Loading…
Cancel
Save