One more test

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2022-10-02 00:54:38 +02:00
parent 47ea749454
commit e3b036456f
No known key found for this signature in database
GPG Key ID: C0095B7870A4CCD3

View File

@ -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