-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
Description
nuts/nuts/base_tests/napalm_get_vlans.py
Lines 41 to 43 in ac06b1c
@pytest.mark.nuts("vlan_tag") | |
def test_vlan_tag(self, single_result, vlan_tag): | |
assert vlan_tag in single_result.result |
The napalm vlan check doesnt return vlan in order. On some devices therefore the checks fail
@pytest.mark.nuts("vlan_tags")
def test_no_rogue_vlans(self, single_result, vlan_tags):
> assert list(single_result.result.keys()) == sorted(vlan_tags)
E assert [1, 1198, 119...94, 1193, ...] == [1, 1193, 119...96, 1197, ...]
E At index 1 diff: 1198 != 1193
E Full diff:
E - [1, 1193, 1194, 1195, 1196, 1197, 1198, 1199, 4093, 4094]
E + [1, 1198, 1199, 4093, 4094, 1193, 1195, 1194, 1197, 1196]