summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-04 18:11:42 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-04 18:11:42 -0800
commit7e4ca8f03e8bc07ca1811016a61005c78863e2f7 (patch)
tree8f8b514bc671c7382358e33b3fc69bd952a0f29f
parent5fc86fe5bdc5921c0ee441c34e3f78157eb4a4eb (diff)
downloadfatcat-7e4ca8f03e8bc07ca1811016a61005c78863e2f7.tar.gz
fatcat-7e4ca8f03e8bc07ca1811016a61005c78863e2f7.zip
fix tests/api_releases (schema examples)
-rw-r--r--python/tests/api_releases.py2
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):