diff --git a/tests/topotests/lib/ospf.py b/tests/topotests/lib/ospf.py index 7609c7f899..23b1f2e533 100644 --- a/tests/topotests/lib/ospf.py +++ b/tests/topotests/lib/ospf.py @@ -2816,7 +2816,7 @@ def get_ospf_database(tgen, topo, dut, input_dict, vrf=None, lsatype=None, rid=N result = True break if ( - _age is not "get" + _age != "get" and lsa["lsaAge"] == show_ospf_json["routerLinkStates"][rtrlsa][ ospf_area