[riot-notifications] [RIOT-OS/RIOT] sys/net/dhcpv6: Refactor IA_NA implementation (#16724)

Martine Lenders notifications at github.com
Thu Aug 12 09:51:16 CEST 2021

@miri64 commented on this pull request.

> +    result = [
+        (addr, prefix) for addr, prefix in test_data if test_function(addr, prefix)
+    ]
+    assert len(result) == 1

Alternatively, if you want to keep the dict structure

assert check_ia_na_addr(**test_data[0]) or \
assert check_ia_na_addr(**test_data[1]) or \

would also work for me.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210812/73d631cd/attachment-0001.htm>

More information about the notifications mailing list