Merge pull request #12911 from opensourcerouting/fix/python_warning_ospf

tests: Use inequality operator for strings
This commit is contained in:
Donald Sharp 2023-02-28 07:50:10 -05:00 committed by GitHub
commit b82c75c64b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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