diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-09-30 12:40:55 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-30 12:40:55 +0300 |
| commit | ac32b03f9805df2639d6a62ffd1bef76da15e6f0 (patch) | |
| tree | d1a21bc210bc07a38c4fddc6d29162346478b8fc | |
| parent | a89bae26f78c00080ecc48c4dbbd86c2ceafb547 (diff) | |
| parent | 94e8feaa9fa447e1a643fcb1b982630fdb895b4a (diff) | |
Merge pull request #9694 from mjstapp/fix_topo_pim_cmp
tests: fix string comparison in lib/pim.py
| -rw-r--r-- | tests/topotests/lib/pim.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/lib/pim.py b/tests/topotests/lib/pim.py index 9d37088218..944981add4 100644 --- a/tests/topotests/lib/pim.py +++ b/tests/topotests/lib/pim.py @@ -1020,10 +1020,10 @@ def verify_ip_mroutes( if not isinstance(group_addresses, list): group_addresses = [group_addresses] - if not isinstance(iif, list) and iif is not "none": + if not isinstance(iif, list) and iif != "none": iif = [iif] - if not isinstance(oil, list) and oil is not "none": + if not isinstance(oil, list) and oil != "none": oil = [oil] for grp_addr in group_addresses: |
