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/lib/ospf.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/lib/ospf.py')
| -rw-r--r-- | tests/topotests/lib/ospf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/lib/ospf.py b/tests/topotests/lib/ospf.py index 5b18f8b679..2c876e1989 100644 --- a/tests/topotests/lib/ospf.py +++ b/tests/topotests/lib/ospf.py @@ -1545,7 +1545,7 @@ def verify_ospf_database( ) return errormsg if ospf_external_lsa: - for ospf_ext_lsa, ext_lsa_data in ospf_external_lsa.items(): + for ospf_ext_lsa, _ in ospf_external_lsa.items(): if ospf_ext_lsa in show_ospf_json["AS External Link States"]: logger.info( "[DUT: %s] OSPF LSDB:External LSA %s", router, ospf_ext_lsa @@ -2509,7 +2509,7 @@ def verify_ospf_gr_helper(tgen, topo, dut, input_dict=None): raise ValueError(errormsg) return errormsg - for ospf_gr, gr_data in input_dict.items(): + for ospf_gr, _ in input_dict.items(): try: if input_dict[ospf_gr] == show_ospf_json[ospf_gr]: logger.info( |
