From: Vincent Bernat Date: Wed, 6 Jul 2022 20:44:24 +0000 (+0200) Subject: tests: really fix "too many VLANs" test X-Git-Tag: 1.0.15~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a8bd66c87dd8ec648901f0d42541113c4eca8008;p=thirdparty%2Flldpd.git tests: really fix "too many VLANs" test We want to have a neighbor, but without VLANs. --- 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)