From 97bdf4811c76e6df320ca01a69c594cf7e28c456 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 20 Apr 2018 13:37:19 +0200 Subject: [PATCH] update expected default token note --- jupyterhub/tests/test_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jupyterhub/tests/test_api.py b/jupyterhub/tests/test_api.py index dcab20af..7f8cfa97 100644 --- a/jupyterhub/tests/test_api.py +++ b/jupyterhub/tests/test_api.py @@ -1274,9 +1274,9 @@ def test_token_for_user(app, as_user, for_user, status): reply = r.json() assert reply['user'] == for_user if for_user == as_user: - note = 'via api' + note = 'Requested via api' else: - note = 'via api by user %s' % as_user + note = 'Requested via api by user %s' % as_user assert reply['note'] == note