Skip to content

Commit

Permalink
Call reset in test_empty_allowList() to work with randomly ordered mo…
Browse files Browse the repository at this point in the history
…dules.
  • Loading branch information
andrewkozlik committed Apr 17, 2020
1 parent 4ba22cb commit a51376e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/standard/fido2/test_get_assertion.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def test_that_user_credential_and_numberOfCredentials_are_not_present(self, GARe
assert GARes.number_of_credentials == None

def test_empty_allowList(self, device):
device.reset()
with pytest.raises(CtapError) as e:
device.sendGA(*FidoRequest(allow_list=[]).toGA())
assert e.value.code == CtapError.ERR.NO_CREDENTIALS
Expand Down

0 comments on commit a51376e

Please sign in to comment.