aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_vlib.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-08-19 18:47:55 -0400
committerAndrew Yourtchenko <ayourtch@gmail.com>2024-08-22 07:35:40 +0000
commit85ce93160fa71c5e6fb9140704c07e6d8989889d (patch)
treecff2524293777a140eece22ab5900d39ca797d9d /test/test_vlib.py
parent7301abe9ba2fa75661238b0afece55eeeebce863 (diff)
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>
Diffstat (limited to 'test/test_vlib.py')
-rw-r--r--test/test_vlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_vlib.py b/test/test_vlib.py
index 60c354bccfc..48e32b6e669 100644
--- a/test/test_vlib.py
+++ b/test/test_vlib.py
@@ -274,7 +274,7 @@ class TestVlibFrameLeak(VppTestCase):
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 @@ class TestVlibFrameLeak(VppTestCase):
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]