aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests')
-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)