From 7b8b4652693a87233c9aea313959a9cede3df0f4 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Tue, 15 Aug 2023 19:05:26 -0400 Subject: tests docs: update python3 venv packages - Package update performed by 1. updating pip, pip-tools, setuptools 2. 'make test-refresh-deps' on ubuntu 22.04 3. fixing 'make test' and 'make docs' issues on ubuntu 22.04 4. 'make test-refresh-deps' on ubuntu 20.04 - Add dependency for 'make test-refresh-deps' to insure python venv is set up. - Update of python formatter, black, caused reformating of 41 python code files. Type: make Change-Id: I7cafdf4b5189065ac57cb6b254937f6e0897a924 Signed-off-by: Dave Wallace --- test/test_nat44_ed.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/test_nat44_ed.py') diff --git a/test/test_nat44_ed.py b/test/test_nat44_ed.py index 7279b6a7d56..1fbfff990b6 100644 --- a/test/test_nat44_ed.py +++ b/test/test_nat44_ed.py @@ -142,7 +142,6 @@ class TestNAT44ED(VppTestCase): tag="", flags=0, ): - if not (local_port and external_port): flags |= self.config_flags.NAT_IS_ADDR_ONLY @@ -687,7 +686,6 @@ class TestNAT44ED(VppTestCase): def frag_in_order_in_plus_out( self, in_addr, out_addr, in_port, out_port, proto=IP_PROTOS.tcp ): - layer = self.proto2layer(proto) if proto == IP_PROTOS.tcp: @@ -743,7 +741,6 @@ class TestNAT44ED(VppTestCase): def frag_out_of_order_in_plus_out( self, in_addr, out_addr, in_port, out_port, proto=IP_PROTOS.tcp ): - layer = self.proto2layer(proto) if proto == IP_PROTOS.tcp: -- cgit 1.2.3-korg