mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-02-02 14:16:38 +00:00
test(tokens-repo): use 'repo' for consistency
This commit is contained in:
parent
3921d9fe4c
commit
db55685488
|
@ -231,7 +231,7 @@ def test_get_tokens(some_tokens_repo):
|
|||
repo = some_tokens_repo
|
||||
tokenstrings = []
|
||||
# we cannot insert tokens directly via api, so we check meta-properties instead
|
||||
for token in some_tokens_repo.get_tokens():
|
||||
for token in repo.get_tokens():
|
||||
len(token.token) == 43 # assuming secrets.token_urlsafe
|
||||
assert token.token not in tokenstrings
|
||||
tokenstrings.append(token.token)
|
||||
|
|
Loading…
Reference in a new issue