summaryrefslogtreecommitdiffstats
path: root/python/tests/web_citation_csl.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-04 19:21:10 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-04 19:21:10 -0700
commitfc443013d4a004d69c53be3286e33dd30921879e (patch)
tree7ae87d9be5ec06d0612203f153302c496c3743d4 /python/tests/web_citation_csl.py
parentab649adac04086817c69113fa075f1cb9bdc6d0f (diff)
downloadfatcat-fc443013d4a004d69c53be3286e33dd30921879e.tar.gz
fatcat-fc443013d4a004d69c53be3286e33dd30921879e.zip
improve test coverage
Diffstat (limited to 'python/tests/web_citation_csl.py')
-rw-r--r--python/tests/web_citation_csl.py2
1 files changed, 2 insertions, 0 deletions
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