summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/topotests/lib/pim.py4
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: