diff options
| author | Mark Stapp <mstapp@nvidia.com> | 2021-09-29 11:49:43 -0400 |
|---|---|---|
| committer | Mark Stapp <mstapp@nvidia.com> | 2021-09-29 11:49:43 -0400 |
| commit | 94e8feaa9fa447e1a643fcb1b982630fdb895b4a (patch) | |
| tree | dcc4b2aac36349bbbefb936311a784bfb8d69e24 /tests/topotests/lib/pim.py | |
| parent | 01236d7aa7dab0891fa25012f87bc1fe3bbcfe9b (diff) | |
tests: fix string comparison in lib/pim.py
Use correct string comparison syntax in lib/pim.py
Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'tests/topotests/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: |
