summaryrefslogtreecommitdiffstats
path: root/tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.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_metric_propagation/test_ospf_metric_propagation.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_metric_propagation/test_ospf_metric_propagation.py')
-rw-r--r--tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.py b/tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.py
index ea962651..b97b86bf 100644
--- a/tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.py
+++ b/tests/topotests/ospf_metric_propagation/test_ospf_metric_propagation.py
@@ -11,14 +11,13 @@
import os
import sys
import json
-from time import sleep
from functools import partial
import pytest
# pylint: disable=C0413
# Import topogen and topotest helpers
from lib import topotest
-from lib.topogen import Topogen, TopoRouter, get_topogen
+from lib.topogen import Topogen, get_topogen
from lib.topolog import logger
@@ -166,7 +165,7 @@ def setup_module(mod):
tgen.set_error("unsupported version")
-def teardown_module(mod):
+def teardown_module():
"Teardown the pytest environment"
tgen = get_topogen()
tgen.stop_topology()