mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 11:33:01 +00:00
update expected default token note
This commit is contained in:
@@ -1274,9 +1274,9 @@ def test_token_for_user(app, as_user, for_user, status):
|
|||||||
reply = r.json()
|
reply = r.json()
|
||||||
assert reply['user'] == for_user
|
assert reply['user'] == for_user
|
||||||
if for_user == as_user:
|
if for_user == as_user:
|
||||||
note = 'via api'
|
note = 'Requested via api'
|
||||||
else:
|
else:
|
||||||
note = 'via api by user %s' % as_user
|
note = 'Requested via api by user %s' % as_user
|
||||||
assert reply['note'] == note
|
assert reply['note'] == note
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user