From 2a884db1d10656d2df759a23366dabd4b72bf37c Mon Sep 17 00:00:00 2001 From: Ole Troan Date: Wed, 23 Oct 2019 11:24:23 +0200 Subject: cdp: re-enable skipped tests for python3 CDP uses the running sytems host name, which caused different failures on different systems. The root cause was an python3 specific error in checksum calculation. Type: fix Signed-off-by: Ole Troan Change-Id: I205436682d46e7e8cbb8c057c03a76dbbcab4d72 --- src/plugins/cdp/test/test_cdp.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/plugins/cdp/test/test_cdp.py b/src/plugins/cdp/test/test_cdp.py index c0e52876752..27f35c2937d 100644 --- a/src/plugins/cdp/test/test_cdp.py +++ b/src/plugins/cdp/test/test_cdp.py @@ -98,13 +98,9 @@ class TestCDP(VppTestCase): self.assert_equal(system[:length], self.device_id[:length], "CDP received invalid device id") - @unittest.skipIf(sys.version_info[0] > 2, - "not supported in python3/scapy") def test_cdp_underflow_tlv(self): self.send_bad_packet(3, ".") - @unittest.skipIf(sys.version_info[0] > 2, - "not supported in python3/scapy") def test_cdp_overflow_tlv(self): self.send_bad_packet(8, ".") -- cgit 1.2.3-korg