diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-02-28 07:50:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-28 07:50:10 -0500 |
| commit | b82c75c64bf5512c34ef2b30d57b2fec3e18d574 (patch) | |
| tree | f274092b3917001caf89b4471911fb93edb6134d /tests/topotests/lib/ospf.py | |
| parent | 9276144ad0c3315d0d2d93c97027f0650e562d3c (diff) | |
| parent | 0ce6a441e2e3b5316445be5651b8a42876c0b868 (diff) | |
Merge pull request #12911 from opensourcerouting/fix/python_warning_ospf
tests: Use inequality operator for strings
Diffstat (limited to 'tests/topotests/lib/ospf.py')
| -rw-r--r-- | tests/topotests/lib/ospf.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
