tests: fix make test python issues on ubuntu 24.04
- add patch to scapy to use latest six module instead
of the old scapy specific six module which fails to
import moves sub-module on python 3.12
- fix warning for deprecated legacy editable install of vpp_papi
- skip failing testcases on ubuntu-24.04
Type: test
Change-Id: Idc1a008c6e45ba69caa50c2e245012eb05effed7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/test/test_vlib.py b/test/test_vlib.py
index 60c354b..48e32b6 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -274,7 +274,7 @@
rx = self.pg0.get_capture(1)
- self.assertEquals(len(rx), 1)
+ self.assertEqual(len(rx), 1)
rx = rx[0]
ether = rx[Ether]
ipv4 = rx[IP]
@@ -305,7 +305,7 @@
rx = self.pg0.get_capture(1)
- self.assertEquals(len(rx), 1)
+ self.assertEqual(len(rx), 1)
rx = rx[0]
ether = rx[Ether]
ipv4 = rx[IP]