test(tokens-repo): use a mnemonic device key on an empty repo

This commit is contained in:
Houkime 2022-12-09 11:30:33 +00:00
parent ce411e9291
commit be13d6163e

View file

@ -542,8 +542,8 @@ def test_use_mnemonic_new_device_key(
) )
def test_use_mnemonic_new_device_key_when_empty(empty_keys): def test_use_mnemonic_new_device_key_when_empty(empty_repo):
repo = JsonTokensRepository() repo = empty_repo
with pytest.raises(NewDeviceKeyNotFound): with pytest.raises(NewDeviceKeyNotFound):
assert ( assert (