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 --- extras/deprecated/plugins/gbp/test_gbp.py | 2 +- extras/packetforge/Edge.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'extras') diff --git a/extras/deprecated/plugins/gbp/test_gbp.py b/extras/deprecated/plugins/gbp/test_gbp.py index 1c12abe008d..84dda76af19 100644 --- a/extras/deprecated/plugins/gbp/test_gbp.py +++ b/extras/deprecated/plugins/gbp/test_gbp.py @@ -1099,7 +1099,7 @@ class TestGBP(VppTestCase): # adj-fibs due to the fact the the BVI address has /32 and # the subnet is not attached. # - for (ip, fip) in zip(ep.ips, ep.fips): + for ip, fip in zip(ep.ips, ep.fips): # Add static mappings for each EP from the 10/8 to 11/8 network if ip_address(ip).version == 4: flags = self.nat_config_flags.NAT_IS_ADDR_ONLY diff --git a/extras/packetforge/Edge.py b/extras/packetforge/Edge.py index 08e6c9d9ad3..af9de340047 100644 --- a/extras/packetforge/Edge.py +++ b/extras/packetforge/Edge.py @@ -45,7 +45,6 @@ class Edge: for start in startTokens: for end in endTokens: - edge = Edge() edge.Start = start -- cgit 1.2.3-korg