mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-25 02:06:54 +00:00
test(tokens-repo): fix typo in contets
This commit is contained in:
parent
0bf18603d4
commit
74777c4343
|
@ -9,7 +9,7 @@ from mnemonic import Mnemonic
|
|||
from tests.common import read_json, write_json
|
||||
|
||||
|
||||
TOKENS_FILE_CONTETS = {
|
||||
TOKENS_FILE_CONTENTS = {
|
||||
"tokens": [
|
||||
{
|
||||
"token": "TEST_TOKEN",
|
||||
|
@ -36,7 +36,7 @@ DEVICE_KEY_VALIDATION_DATETIME = "selfprivacy_api.models.tokens.new_device_key.d
|
|||
|
||||
|
||||
def assert_original(filename):
|
||||
assert read_json(filename) == TOKENS_FILE_CONTETS
|
||||
assert read_json(filename) == TOKENS_FILE_CONTENTS
|
||||
|
||||
|
||||
def assert_token_valid(client, token):
|
||||
|
|
Loading…
Reference in a new issue