From a9046843fb3105e9db826dd0fbb2dc58d9b671f4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 2 Mar 2019 17:30:29 -0800 Subject: update api_release test for new example --- 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 9a64e0f9..2cac0097 100644 --- a/python/tests/api_releases.py +++ b/python/tests/api_releases.py @@ -96,7 +96,7 @@ def test_release_examples(api): api.lookup_release(isbn13='978-3-16-148410-0') r1 = api.get_release('aaaaaaaaaaaaarceaaaaaaaaai') - assert r1.title == "bigger example" + assert r1.title.startswith("A bigger example") assert len(r1.refs) == 5 assert r1.contribs[0].role == "editor" assert r1.abstracts[0].mimetype == "application/xml+jats" -- cgit v1.2.3