tests: fix warning, incorrect use of is.

Remove the never-executed code.

Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
Christian Hopps 2023-04-14 15:13:04 -04:00
parent 89f0982149
commit 7c5d70611a

View 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)