fix nxos_l2 resource tests (#67916)

pull/67926/head
Sumit Jaiswal 4 years ago committed by GitHub
parent 29978d027b
commit 4e43bd3a4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@
- "'interface {{ test_int2 }}' in result.commands"
- "'no switchport mode' in result.commands"
- "'no switchport trunk allowed vlan' in result.commands"
- "result.commands|length == 4"
- "result.commands|length == 5"
- name: Idempotence - deleted
nxos_l2_interfaces: *deleted

@ -72,7 +72,7 @@
- "'interface {{ test_int1 }}' in result.commands"
- "'switchport mode trunk' in result.commands"
- "'switchport trunk allowed vlan add 10,11,12' in result.commands"
- "result.commands|length == 2"
- "result.commands|length == 3"
- name: Gather l2_interfaces facts
nxos_facts:

Loading…
Cancel
Save