From d786a9c6e5b9f25e7ed99e70f92eeaf99bbdb017 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 3 Oct 2022 10:44:57 +0200 Subject: [PATCH] User data is returned when there are more than 1 credential. Signed-off-by: Pol Henarejos --- tests/pico-fido/test_discoverable.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pico-fido/test_discoverable.py b/tests/pico-fido/test_discoverable.py index 682e5d7..a90c3f4 100644 --- a/tests/pico-fido/test_discoverable.py +++ b/tests/pico-fido/test_discoverable.py @@ -140,7 +140,8 @@ def test_rk_maximum_size_nodisplay(device): user_max_GA = auths[0] print(auths) for y in ("name", "displayName", "id"): - assert user_max_GA.user[y] == user_max[y] + if (y in user_max_GA): + assert user_max_GA.user[y] == user_max[y] def test_rk_maximum_list_capacity_per_rp_nodisplay(info, device, MCRes_DC):