summaryrefslogtreecommitdiffstats
path: root/tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
committerDaniel Baumann <daniel@debian.org>2024-11-17 07:11:26 +0100
commitd5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6 (patch)
tree705ea89e798053f9c227b85512bc9f5b437b0093 /tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py
parentReleasing debian version 10.1.1-3. (diff)
downloadfrr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.tar.xz
frr-d5587ccda8edb748ca8bfd1f0ed92a801ac5bfc6.zip
Merging upstream version 10.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py')
-rw-r--r--tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py b/tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py
index 4fc93b58..718445f0 100644
--- a/tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py
+++ b/tests/topotests/ospf_netns_vrf/test_ospf_netns_vrf.py
@@ -104,13 +104,13 @@ def setup_module(mod):
tgen.set_error("unsupported version")
-def teardown_module(mod):
+def teardown_module():
"Teardown the pytest environment"
tgen = get_topogen()
# Move interfaces out of vrf namespace and delete the namespace
router_list = tgen.routers()
- for rname, router in router_list.items():
+ for rname, _ in router_list.items():
tgen.net[rname].reset_intf_netns(rname + "-eth0")
tgen.net[rname].reset_intf_netns(rname + "-eth1")
tgen.net[rname].delete_netns(rname + "-ospf-cust1")