diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-04 19:21:10 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-04-04 19:21:10 -0700 |
commit | fc443013d4a004d69c53be3286e33dd30921879e (patch) | |
tree | 7ae87d9be5ec06d0612203f153302c496c3743d4 /python/tests/web_citation_csl.py | |
parent | ab649adac04086817c69113fa075f1cb9bdc6d0f (diff) | |
download | fatcat-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.py | 2 |
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 |