summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2019-11-14 16:14:14 +0100
committerMartin Czygan <martin.czygan@gmail.com>2019-11-14 16:14:14 +0100
commitcd32f2b7283d0d2735bb26cac9481556e10eab09 (patch)
treeb2609a0c6f8594ec0d4c62babe8fbc0a69c747b8 /python
parent6956dc39c2df9a6db5b6b402b931cf5baf586232 (diff)
downloadfatcat-cd32f2b7283d0d2735bb26cac9481556e10eab09.tar.gz
fatcat-cd32f2b7283d0d2735bb26cac9481556e10eab09.zip
adjust search test case for new wording
> "Showing top " -> "Showing first "
Diffstat (limited to 'python')
-rw-r--r--python/tests/web_search.py4
1 files changed, 2 insertions, 2 deletions
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