diff options
| author | Y Bharath <y.bharath@samsung.com> | 2024-06-19 12:51:05 +0530 |
|---|---|---|
| committer | Y Bharath <y.bharath@samsung.com> | 2024-07-15 13:09:32 +0530 |
| commit | 5b06a17715c63f7639640a97be338ace8fc76f79 (patch) | |
| tree | 2846ad24816fde67523c45ca021d5ffe3e356f27 /tests/topotests/bgp_vpnv4_noretain | |
| parent | 659741f3fa682d0d32ab24a178794be4ef2e0220 (diff) | |
tests: Refactoring FRR test suites
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/bgp_vpnv4_noretain')
| -rw-r--r-- | tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py b/tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py index 037dd40390..6237decfc3 100644 --- a/tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py +++ b/tests/topotests/bgp_vpnv4_noretain/test_bgp_vpnv4_noretain.py @@ -141,7 +141,7 @@ def router_json_cmp_exact_filter(router, cmd, expected): # filter out tableVersion, version and nhVrfID json_output.pop("tableVersion") for rd, data in json_output["routes"]["routeDistinguishers"].items(): - for prefix, attrs in data.items(): + for _, attrs in data.items(): for attr in attrs: if "nhVrfId" in attr: attr.pop("nhVrfId") @@ -171,7 +171,7 @@ def router_vrf_json_cmp_exact_filter(router, cmd, expected): data.pop("tableVersion") if "routes" not in data: continue - for route, attrs in data["routes"].items(): + for _, attrs in data["routes"].items(): for attr in attrs: if "nhVrfId" in attr: attr.pop("nhVrfId") |
