diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-06-18 15:52:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 15:52:38 -0400 |
| commit | a1b21f526ad5d6807b39d3569845b0cb25b4d1bf (patch) | |
| tree | 390c8c2096f4c2a964a6d8bb50c5ab2167c77ae5 /tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py | |
| parent | c7276d1580126be366fc8669909c02a7f4368fd3 (diff) | |
| parent | 8381dbd9e258825daff4802c4c44b3d435a7b7e3 (diff) | |
Merge pull request #16227 from y-bharath14/srib-topotest-e
tests: Avoid importing unused modules
Diffstat (limited to 'tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py')
| -rw-r--r-- | tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py b/tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py index 8e7a7ea40a..077a9e4205 100644 --- a/tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py +++ b/tests/topotests/ospf6_loopback_cost/test_ospf6_loopback_cost.py @@ -30,7 +30,7 @@ sys.path.append(os.path.join(CWD, "../")) # pylint: disable=C0413 from lib import topotest -from lib.topogen import Topogen, TopoRouter, get_topogen +from lib.topogen import Topogen, get_topogen def setup_module(mod): @@ -46,7 +46,7 @@ def setup_module(mod): tgen.start_router() -def teardown_module(mod): +def teardown_module(): tgen = get_topogen() tgen.stop_topology() |
