diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-04 18:11:42 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-04 18:11:42 -0800 |
commit | 7e4ca8f03e8bc07ca1811016a61005c78863e2f7 (patch) | |
tree | 8f8b514bc671c7382358e33b3fc69bd952a0f29f | |
parent | 5fc86fe5bdc5921c0ee441c34e3f78157eb4a4eb (diff) | |
download | fatcat-7e4ca8f03e8bc07ca1811016a61005c78863e2f7.tar.gz fatcat-7e4ca8f03e8bc07ca1811016a61005c78863e2f7.zip |
fix tests/api_releases (schema examples)
-rw-r--r-- | python/tests/api_releases.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/api_releases.py b/python/tests/api_releases.py index 2cac0097..a52abfb5 100644 --- a/python/tests/api_releases.py +++ b/python/tests/api_releases.py @@ -98,7 +98,7 @@ def test_release_examples(api): r1 = api.get_release('aaaaaaaaaaaaarceaaaaaaaaai') assert r1.title.startswith("A bigger example") assert len(r1.refs) == 5 - assert r1.contribs[0].role == "editor" + assert r1.contribs[14].role == "editor" assert r1.abstracts[0].mimetype == "application/xml+jats" def test_empty_fields(api): |