summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2023-08-15 19:05:26 -0400
committerAndrew Yourtchenko <ayourtch@gmail.com>2023-08-16 19:53:12 +0000
commit7b8b4652693a87233c9aea313959a9cede3df0f4 (patch)
treec9e9275c0d77015922e3d9411a116151208bd8ae /extras
parentd826a602696eb337dcce191d7d24ae1869e81ec2 (diff)
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 <dwallacelf@gmail.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/deprecated/plugins/gbp/test_gbp.py2
-rw-r--r--extras/packetforge/Edge.py1
2 files changed, 1 insertions, 2 deletions
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