diff --git a/tools/testing/tests/solo.py b/tools/testing/tests/solo.py index 4ad0b3f..0f3fbca 100644 --- a/tools/testing/tests/solo.py +++ b/tools/testing/tests/solo.py @@ -48,13 +48,11 @@ class SoloTests(Tester): sc.exchange = sc.exchange_fido2 req = SoloClient.format_request(SoloExtension.version, 0, b"A" * 16) - assertions, client_data = sc.client.get_assertion( - sc.host, "B" * 32, [{"id": req, "type": "public-key"}] + a = sc.ctap2.get_assertion( + sc.host, b"B" * 32, [{"id": req, "type": "public-key"}] ) with Test("Test custom command returned valid assertion"): - assert len(assertions) == 1 - a = assertions[0] assert a.auth_data.rp_id_hash == sha256(sc.host.encode("utf8")) assert a.credential["id"] == req assert (a.auth_data.flags & 0x5) == 0x5