vmware_export_ovf/test: don't use a rescue block in test
By using a `rescue` block, we can potentially hide a really problem in the block and return a success. This is a bit problematic for a functional test.
This commit is contained in:
parent
ae6317004e
commit
437b8b3807
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@
|
||||||
that:
|
that:
|
||||||
- "ovf_template.changed == true"
|
- "ovf_template.changed == true"
|
||||||
- "ovf_template.instance.device_files | length >= 1"
|
- "ovf_template.instance.device_files | length >= 1"
|
||||||
rescue:
|
always:
|
||||||
- name: Clean up the temporary dir
|
- name: Clean up the temporary dir
|
||||||
file:
|
file:
|
||||||
path: "{{ temp_dir.path }}"
|
path: "{{ temp_dir.path }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue