diff --git a/tests/pico-fido/test_authenticate.py b/tests/pico-fido/test_authenticate.py index 1e5d23c..090eeeb 100644 --- a/tests/pico-fido/test_authenticate.py +++ b/tests/pico-fido/test_authenticate.py @@ -187,3 +187,8 @@ def test_user_presence_option_false(device, MCRes): {"id": MCRes.auth_data.credential_data.credential_id, "type": "public-key"} ]) +def test_credential_resets(device, MCRes, GARes): + device.reset() + with pytest.raises(CtapError) as e: + new_auth = device.doGA() + assert e.value.code == CtapError.ERR.NO_CREDENTIALS