]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests/integration: also remove 802.3bt test
authorVincent Bernat <vincent@bernat.ch>
Sun, 15 Oct 2023 18:08:23 +0000 (20:08 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sun, 15 Oct 2023 18:08:23 +0000 (20:08 +0200)
tests/integration/data/8023bt.pcap [deleted file]
tests/integration/test_pcap.py

diff --git a/tests/integration/data/8023bt.pcap b/tests/integration/data/8023bt.pcap
deleted file mode 100644 (file)
index 932b593..0000000
Binary files a/tests/integration/data/8023bt.pcap and /dev/null differ
index 5dfe720730b65ecce794e66faf348aa81f543e98..3a61cea48711832a48f6f726e9f77fdb765cd81a 100644 (file)
@@ -50,46 +50,6 @@ def test_cisco_sg200(request, lldpd1, lldpcli, namespaces):
         assert out == expected
 
 
-@pytest.mark.skipif("'Dot3' not in config.lldpd.features", readon="Dot3 not supported")
-def test_8023bt(lldpd1, lldpcli, namespaces):
-    with namespaces(2):
-        pytest.helpers.send_pcap("data/8023bt.pcap", "eth1")
-    with namespaces(1):
-        out = lldpcli("-f", "keyvalue", "show", "neighbors", "details")
-        for k in list(out.keys()):
-            if not k.startswith("lldp.eth0.port.power."):
-                del out[k]
-        assert out == {
-            "lldp.eth0.port.power.supported": "yes",
-            "lldp.eth0.port.power.enabled": "yes",
-            "lldp.eth0.port.power.paircontrol": "yes",
-            "lldp.eth0.port.power.device-type": "PSE",
-            "lldp.eth0.port.power.pairs": "signal",
-            "lldp.eth0.port.power.class": "class 4",
-            "lldp.eth0.port.power.power-type": "2",
-            "lldp.eth0.port.power.source": "PSE",
-            "lldp.eth0.port.power.priority": "low",
-            "lldp.eth0.port.power.requested": "71000",
-            "lldp.eth0.port.power.allocated": "51000",
-            "lldp.eth0.port.power.requested-a": "35500",
-            "lldp.eth0.port.power.requested-b": "35500",
-            "lldp.eth0.port.power.allocated-a": "25500",
-            "lldp.eth0.port.power.allocated-b": "25500",
-            "lldp.eth0.port.power.pse-powering-status": "4-pair powering single-signature PD",
-            "lldp.eth0.port.power.pd-powering-status": "Unknown",
-            "lldp.eth0.port.power.power-pairs-ext": "Both alternatives",
-            "lldp.eth0.port.power.power-class-ext-a": "Class 4",
-            "lldp.eth0.port.power.power-class-ext-b": "Class 4",
-            "lldp.eth0.port.power.power-class-ext": "Dual-signature PD",
-            "lldp.eth0.port.power.power-type-ext": "Type 3 PSE",
-            "lldp.eth0.port.power.pd-load": (
-                "PD is single- or dual-signature and power "
-                "is not electrically isolated"
-            ),
-            "lldp.eth0.port.power.max-power": "51000",
-        }
-
-
 @pytest.mark.skipif(
     "'LLDP-MED' not in config.lldpd.features", readon="LLDP-MED not supported"
 )