diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/tests/web_search.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/tests/web_search.py b/python/tests/web_search.py index e34cd065..a7bf7ec7 100644 --- a/python/tests/web_search.py +++ b/python/tests/web_search.py @@ -10,22 +10,22 @@ from fixtures import * def test_generic_search(app): rv = app.get('/search?q=blood') - assert rv.status_code == 301 + assert rv.status_code == 302 assert "/release/search" in rv.location # file sha1sum rv = app.get('/search?q=0262d5351e8e7a0af27af8ceaf7b4e581da085f2') - assert rv.status_code == 301 + assert rv.status_code == 302 assert "/file/lookup" in rv.location # PMCID rv = app.get('/search?q=PMC12345') - assert rv.status_code == 301 + assert rv.status_code == 302 assert "/release/lookup" in rv.location # ISSN rv = app.get('/search?q=1234-5678') - assert rv.status_code == 301 + assert rv.status_code == 302 assert "/container/lookup" in rv.location def test_release_search(app, mocker): |