test(tokens-repo): invalid mnemonic new device key

This commit is contained in:
Houkime 2022-12-09 10:51:32 +00:00
parent 73584872f0
commit 3feebd5290

View file

@ -473,10 +473,8 @@ def test_delete_new_device_key_when_empty(empty_repo):
assert repo.delete_new_device_key() is None assert repo.delete_new_device_key() is None
def test_use_invalid_mnemonic_new_device_key( def test_use_invalid_mnemonic_new_device_key(some_tokens_repo):
tokens, mock_new_device_key_generate, datadir, mock_token_generate repo = some_tokens_repo
):
repo = JsonTokensRepository()
with pytest.raises(InvalidMnemonic): with pytest.raises(InvalidMnemonic):
assert ( assert (