From cd32f2b7283d0d2735bb26cac9481556e10eab09 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 14 Nov 2019 16:14:14 +0100 Subject: adjust search test case for new wording > "Showing top " -> "Showing first " --- python/tests/web_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests') diff --git a/python/tests/web_search.py b/python/tests/web_search.py index bdd858d0..4096a69c 100644 --- a/python/tests/web_search.py +++ b/python/tests/web_search.py @@ -16,7 +16,7 @@ def test_release_search(app): rv = app.get('/release/search?q=blood') assert rv.status_code == 200 - assert b"Showing top " in rv.data + assert b"Showing first " in rv.data @responses.activate def test_container_search(app): @@ -29,7 +29,7 @@ def test_container_search(app): rv = app.get('/container/search?q=blood') assert rv.status_code == 200 - assert b"Showing top " in rv.data + assert b"Showing first " in rv.data assert b"European Instructional Course Lectures" in rv.data assert b"British Editorial Society of Bone and Joint Surger" in rv.data -- cgit v1.2.3