summaryrefslogtreecommitdiffstats
path: root/test/test-udev.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:25:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-10 10:25:04 +0000
commit8622cbe476ee19b12d6d4ea77250146d5cb8717f (patch)
tree06a46583880489d4fba8f2f5c4450a23c33f58cc /test/test-udev.py
parentAdding upstream version 2.3. (diff)
downloadnvme-stas-upstream.tar.xz
nvme-stas-upstream.zip
Adding upstream version 2.3.1.upstream/2.3.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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(