]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: fix warning, incorrect use of `is`.
authorChristian Hopps <chopps@labn.net>
Fri, 14 Apr 2023 19:13:04 +0000 (15:13 -0400)
committerChristian Hopps <chopps@labn.net>
Fri, 14 Apr 2023 21:23:58 +0000 (17:23 -0400)
Remove the never-executed code.

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/bgp_unique_rid/test_bgp_unique_rid.py

index 47b2452b81bdce2d1fe38202ec0a42ced7b0ad47..f89f3378fbf7aca0420d60d125ac5faa0012cbdd 100644 (file)
@@ -847,8 +847,6 @@ def test_bgp_unique_rid_chaos4_p2():
         for intf in topo["routers"][rtr]["links"].keys():
             topo1["routers"][rtr]["links"][intf].pop("ipv4")
             topo1["routers"][rtr]["links"][intf].pop("ipv6")
-            if intf is "lo":
-                topo1["routers"][rtr]["links"][intf].pop("ipv4")
 
     build_config_from_json(tgen, topo1, save_bkup=False)