mirror of
https://github.com/polhenarejos/pico-fido.git
synced 2024-09-20 03:10:10 +00:00
One more test
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
47ea749454
commit
e3b036456f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user