Skip to content

Commit

Permalink
Merge pull request #409 from martin-belanger/fix-test-udev-dummy-iface
Browse files Browse the repository at this point in the history
test: Fix test-udev with dummy interfaces
  • Loading branch information
martin-belanger authored Nov 28, 2023
2 parents 534f33c + 371c1e8 commit db9d90b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test-udev.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ def test_is_ioc_device(self):
def test__cid_matches_tid(self):
ifaces = iputil.net_if_addrs()
for ifname, addrs in self.ifaces.items():
# <ifaces> contains a subset of the interfaces found in <self.ifaces>.
# So, let's make sure that we only test with the interfaces found in both.
if ifname not in ifaces:
continue

##############################################
# IPV4

Expand Down

0 comments on commit db9d90b

Please sign in to comment.