From be5cdc59ba76c9283b07331338c970e16fef9a8f Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Tue, 6 Apr 2021 15:19:28 +0200 Subject: [PATCH] fix test --- tests/oauth/test_authorize.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/oauth/test_authorize.py b/tests/oauth/test_authorize.py index 86e1a84f..c045e425 100644 --- a/tests/oauth/test_authorize.py +++ b/tests/oauth/test_authorize.py @@ -56,7 +56,7 @@ def test_authorize_page_non_login_user(flask_client): html = r.get_data(as_text=True) assert r.status_code == 200 - assert "In order to accept the request, you need to sign in" in html + assert "Sign in to accept sharing data with" in html def test_authorize_page_login_user_non_supported_flow(flask_client): @@ -116,7 +116,6 @@ def test_authorize_page_login_user(flask_client): html = r.get_data(as_text=True) assert r.status_code == 200 - assert "You can customize the info sent to this app" in html assert "a@b.c (Personal Email)" in html