diff --git a/setup.py b/setup.py index 091a9f05..c53a732e 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ 'autosemver~=0.2', 'inspire-schemas~=56.0', 'inspire-dojson~=57.0', - 'inspire-utils~=0.0,>=0.0.13', + 'inspire-utils~=2.0,>=2.0.2', 'Scrapy>=1.1.0', 'scrapy-crawl-once~=0.1,>=0.1.1', 'scrapy-sentry~=0.0,>=0.8.0', diff --git a/tests/functional/wsp/fixtures/wsp_smoke_records.json b/tests/functional/wsp/fixtures/wsp_smoke_records.json index b339b172..e84528f9 100644 --- a/tests/functional/wsp/fixtures/wsp_smoke_records.json +++ b/tests/functional/wsp/fixtures/wsp_smoke_records.json @@ -18,7 +18,7 @@ "value": "Department, University, City, City_code 123456, C. R. Country_2" }], "emails": ["name_1@domain.com"], - "full_name": "author_surname_2, author_name_1" + "full_name": "Author_surname_2, Author_name_1" }], "titles": [{ "source": "WSP", @@ -86,7 +86,7 @@ "value": "Department, University, City, City_code 123456, C. R. Country_1" }], "emails": ["name_1@domain.com"], - "full_name": "author_surname_1, author_name_1" + "full_name": "Author_surname_1, Author_name_1" }, { "raw_affiliations": [{ @@ -94,7 +94,7 @@ "value": "Department, University, City, City_code 123456, C. R. Country_1" }], "emails": ["name_2@domain.com"], - "full_name": "author_surname_2, author_name_2" + "full_name": "Author_surname_2, Author_name_2" } ], "titles": [{ diff --git a/tests/unit/test_world_scientific.py b/tests/unit/test_world_scientific.py index 6591e0ee..08f85811 100644 --- a/tests/unit/test_world_scientific.py +++ b/tests/unit/test_world_scientific.py @@ -298,10 +298,10 @@ def test_publication_info(generated_record, expected_publication_info): get_one_record('world_scientific/sample_ws_record.xml'), [ { - 'full_name': u'BI, DONGQIN', + 'full_name': u'Bi, Dongqin', }, { - 'full_name': u'BOSCHLOO, GERRIT', + 'full_name': u'Boschloo, Gerrit', 'raw_affiliations': [{ 'source': 'WSP', 'value': u'Physics Department, Brookhaven National Laboratory, Upton, NY 11973, USA' @@ -309,7 +309,7 @@ def test_publication_info(generated_record, expected_publication_info): }, { 'emails': [u'anders.hagfeldt@kemi.uu.se'], - 'full_name': u'HAGFELDT, ANDERS', + 'full_name': u'Hagfeldt, Anders', }], ], ], @@ -413,7 +413,7 @@ def test_pipeline_record(generated_record): 'authors': [ { 'emails': ['name_1@domain.com'], - 'full_name': 'author_surname_2, author_name_1', + 'full_name': 'Author_surname_2, Author_name_1', 'raw_affiliations': [ { 'source': 'WSP',