aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-05-05 11:27:00 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-05-05 11:27:00 -0700
commite5a6f6ce565875ea11b9b956c68c9fa6312354c8 (patch)
tree48ef8dab074b651cd26ab6247aa27c3103320b8e
parentaff3f40a5177dd6de4eee8ea7bca78df7a595bf3 (diff)
downloadfatcat-e5a6f6ce565875ea11b9b956c68c9fa6312354c8.tar.gz
fatcat-e5a6f6ce565875ea11b9b956c68c9fa6312354c8.zip
fix python tests for CSL HTTP 400 behavior change
-rw-r--r--python/tests/web_citation_csl.py4
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)