mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 04:23:01 +00:00
update default note for API-requested tokens
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user