From fc443013d4a004d69c53be3286e33dd30921879e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 4 Apr 2019 19:21:10 -0700 Subject: improve test coverage --- python/tests/web_citation_csl.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/tests/web_citation_csl.py') diff --git a/python/tests/web_citation_csl.py b/python/tests/web_citation_csl.py index ae9bca55..cf50f3c3 100644 --- a/python/tests/web_citation_csl.py +++ b/python/tests/web_citation_csl.py @@ -15,6 +15,8 @@ def test_release_bibtex(app): rv = app.get('/release/aaaaaaaaaaaaarceaaaaaaaaam.bib') assert rv.status_code == 200 assert b'@article{' in rv.data + rv = app.get('/release/ccccccccccccccccccccccccca.bib') + assert rv.status_code == 404 rv = app.get('/release/aaaaaaaaaaaaarceaaaaaaaaam/citeproc?style=csl-json') assert rv.status_code == 200 # could also rv.get_json() here -- cgit v1.2.3