diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-05-05 11:27:00 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-05-05 11:27:00 -0700 |
commit | e5a6f6ce565875ea11b9b956c68c9fa6312354c8 (patch) | |
tree | 48ef8dab074b651cd26ab6247aa27c3103320b8e /python/tests | |
parent | aff3f40a5177dd6de4eee8ea7bca78df7a595bf3 (diff) | |
download | fatcat-e5a6f6ce565875ea11b9b956c68c9fa6312354c8.tar.gz fatcat-e5a6f6ce565875ea11b9b956c68c9fa6312354c8.zip |
fix python tests for CSL HTTP 400 behavior change
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/web_citation_csl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/web_citation_csl.py b/python/tests/web_citation_csl.py index e3dbec2b..9dfe94f6 100644 --- a/python/tests/web_citation_csl.py +++ b/python/tests/web_citation_csl.py @@ -54,8 +54,8 @@ def test_release_bibtex(app, api): rv = app.get("/release/{}".format(r1edit.ident)) assert rv.status_code == 200 assert b"BibTeX" not in rv.data - with pytest.raises(ValueError): - rv = app.get("/release/{}.bib".format(r1edit.ident)) + rv = app.get("/release/{}.bib".format(r1edit.ident)) + assert rv.status_code == 400 # create release can have citeproc run on it (no authors) eg = quick_eg(api) |