summaryrefslogtreecommitdiffstats
path: root/test/test-udev.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/test-udev.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-udev.py b/test/test-udev.py
index be257d9..ba484e0 100755
--- a/test/test-udev.py
+++ b/test/test-udev.py
@@ -679,7 +679,7 @@ class Test(unittest.TestCase):
'host-nqn': '',
}
)
- match = len(ipv6_addrs) == 1 and iputil.get_ipaddress_obj(
+ match = len(ipv6_addrs) >= 1 and iputil.get_ipaddress_obj(
ipv6_addrs[0], ipv4_mapped_convert=True
) == iputil.get_ipaddress_obj(tid.host_traddr, ipv4_mapped_convert=True)
self.assertEqual(