From a8bd66c87dd8ec648901f0d42541113c4eca8008 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 6 Jul 2022 22:44:24 +0200 Subject: [PATCH] tests: really fix "too many VLANs" test We want to have a neighbor, but without VLANs. --- tests/integration/test_dot1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_dot1.py b/tests/integration/test_dot1.py index fbfcacad..502aff71 100644 --- a/tests/integration/test_dot1.py +++ b/tests/integration/test_dot1.py @@ -34,6 +34,7 @@ class TestLldpDot1(object): lldpd() with namespaces(1): out = lldpcli("-f", "keyvalue", "show", "neighbors", "details") - assert 'lldp.eth0.vlan' in out + assert 'lldp.eth0.vlan' not in out + assert 'lldp.eth0.age' in out # TODO: PI and PPVID (but lldpd doesn't know how to generate them) -- 2.39.5