From 50418113a95879b94c025ea8b1032de345e6e693 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Fri, 9 Dec 2022 14:21:04 +0100 Subject: [PATCH] Authenticator may return 1 number of credentials (not None). Signed-off-by: Pol Henarejos --- tests/pico-fido/test_authenticate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pico-fido/test_authenticate.py b/tests/pico-fido/test_authenticate.py index a002004..e466706 100644 --- a/tests/pico-fido/test_authenticate.py +++ b/tests/pico-fido/test_authenticate.py @@ -76,7 +76,7 @@ def test_get_assertion_allow_list_filtering_and_buffering(device): len(rp2_assertions) ) - assert counts in [(None, None), (l1, l2)] + assert counts in [(1, 1), (l1, l2)] def test_corrupt_credId(device, MCRes): # apply bit flip