From 7e4ca8f03e8bc07ca1811016a61005c78863e2f7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 4 Mar 2019 18:11:42 -0800 Subject: fix tests/api_releases (schema examples) --- python/tests/api_releases.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3