Skip to content

Commit

Permalink
tests: don't set oif to a list if it is None
Browse files Browse the repository at this point in the history
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
  • Loading branch information
Jafaral committed Sep 9, 2024
1 parent 569b1d4 commit 571108e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/topotests/lib/pim.py
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@ def verify_pim_rp_info(
if type(group_addresses) is not list:
group_addresses = [group_addresses]

if type(oif) is not list:
if oif is not None and type(oif) is not list:
oif = [oif]

for grp in group_addresses:
Expand Down

0 comments on commit 571108e

Please sign in to comment.