mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-25 21:41:27 +00:00
test(tokens-repo): use a mnemonic device key on an empty repo
This commit is contained in:
parent
ce411e9291
commit
be13d6163e
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue