mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 13:31:27 +00:00
test(tokens-repo): notfound mnemonic new device key
This commit is contained in:
parent
3feebd5290
commit
cf7b7eb8a7
|
@ -487,9 +487,10 @@ def test_use_invalid_mnemonic_new_device_key(some_tokens_repo):
|
|||
|
||||
|
||||
def test_use_not_exists_mnemonic_new_device_key(
|
||||
tokens, mock_new_device_key_generate, mock_token_generate
|
||||
empty_repo, mock_new_device_key_generate
|
||||
):
|
||||
repo = JsonTokensRepository()
|
||||
repo = empty_repo
|
||||
assert repo.get_new_device_key() is not None
|
||||
|
||||
with pytest.raises(NewDeviceKeyNotFound):
|
||||
assert (
|
||||
|
|
Loading…
Reference in a new issue