diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2019-11-15 21:48:31 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2019-11-15 21:48:31 +0100 |
commit | 0e4d65c773f586cc5cdafe8049e344a26688f710 (patch) | |
tree | 60745fcd04c8d30b01fea072d24869f1041aaaf2 /python/tests/web_search.py | |
parent | cd32f2b7283d0d2735bb26cac9481556e10eab09 (diff) | |
download | fatcat-0e4d65c773f586cc5cdafe8049e344a26688f710.tar.gz fatcat-0e4d65c773f586cc5cdafe8049e344a26688f710.zip |
address test issue
Diffstat (limited to 'python/tests/web_search.py')
-rw-r--r-- | python/tests/web_search.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tests/web_search.py b/python/tests/web_search.py index 4096a69c..19e2c29f 100644 --- a/python/tests/web_search.py +++ b/python/tests/web_search.py @@ -16,7 +16,8 @@ def test_release_search(app): rv = app.get('/release/search?q=blood') assert rv.status_code == 200 - assert b"Showing first " in rv.data + assert b"Showing" in rv.data + assert b"Quantum Studies of Acetylene Adsorption on Ice Surface" in rv.data @responses.activate def test_container_search(app): @@ -29,7 +30,7 @@ def test_container_search(app): rv = app.get('/container/search?q=blood') assert rv.status_code == 200 - assert b"Showing first " in rv.data + assert b"Showing" 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 |