diff options
| author | Y Bharath <y.bharath@samsung.com> | 2024-06-15 22:36:32 +0530 |
|---|---|---|
| committer | Y Bharath <y.bharath@samsung.com> | 2024-06-17 15:42:59 +0530 |
| commit | 8381dbd9e258825daff4802c4c44b3d435a7b7e3 (patch) | |
| tree | 9e2884a629e76f7b68ea9e40a98c6db7b5411814 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py | |
| parent | 045029e2442dbca3b6e7685438d171fa05c0f968 (diff) | |
tests: Avoid importing unused modules
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py')
| -rw-r--r-- | tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py index 0c1e3fa43e..45652a3ee8 100644 --- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py +++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_ecmp.py @@ -122,7 +122,7 @@ def setup_module(mod): logger.info("Running setup_module() done") -def teardown_module(mod): +def teardown_module(): """ Teardown the pytest environment. @@ -285,7 +285,7 @@ def test_ospfv3_ecmp_tc16_p0(request): step("Verify that route in R2 in stalled with 8 next hops.") nh = [] - for item in range(1, 7): + for _ in range(1, 7): nh.append(llip) llip = get_llip("r0", "r1") |
