update default note for API-requested tokens

This commit is contained in:
Min RK
2018-04-16 11:44:51 +02:00
parent 771c60ca37
commit 976fa9c907
3 changed files with 3 additions and 3 deletions

View File

@@ -1219,7 +1219,7 @@ def test_get_new_token(app, headers, status, note):
if note:
assert reply['note'] == note
else:
assert reply['note'] == 'via api'
assert reply['note'] == 'Requested via api'
token_id = reply['id']
initial = normalize_token(reply)
# pop token for later comparison