Skip to content

Commit

Permalink
fixed assertion in vmware_ops__test
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-savina committed Jul 17, 2024
1 parent 7b3f51a commit a7388e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
- name: "Validate updated network configuration of '{{ vm_update_name }}' VM"
ansible.builtin.assert:
that:
- vm_network_info.network_info[index].name == network.name
- vm_network_info.network_info[index].device_type == network.device_type
- vm_network_info.network_info|map(attribute='name')|list is contains network.name
- vm_network_info.network_info|map(attribute='device_type')|list is contains network.device_type
loop: "{{ vm_updated_networks }}"
loop_control:
loop_var: network
Expand Down

0 comments on commit a7388e9

Please sign in to comment.