]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: really fix "too many VLANs" test
authorVincent Bernat <vincent@bernat.ch>
Wed, 6 Jul 2022 20:44:24 +0000 (22:44 +0200)
committerVincent Bernat <vincent@bernat.ch>
Wed, 6 Jul 2022 20:44:24 +0000 (22:44 +0200)
We want to have a neighbor, but without VLANs.

tests/integration/test_dot1.py

index fbfcacaddae87a22ab8f941141f89cdf35ca7676..502aff71cfdb75334a15817e90d90701b0f22e16 100644 (file)
@@ -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)