Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit ce7d9f72 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add a non conformity: for one author the affilation is not defined (cds2012165).

parent 44907556
......@@ -16,6 +16,16 @@ def test_protection_authors_as_list():
assert authors[129] == u"Zuniga, J."
def test_protection_find_authors_by_affiliation():
"""The affiliation is not defined for one author -- skip it."""
record = load_record('cds.cern.ch', 2012165)
pattern = "Marseille, CPPM|CPPM, Marseille"
authors = record.find_authors_by_affiliation(pattern)
assert authors == u"Serrano, Justine, Tsaregorodtsev, Andrei, " \
u"Aslanides, Elie, Mordà, Alessandro, Le Gac, Renaud, " \
u"Kanso, Walaa, Akar, Simon, Leroy, Olivier, " \
u"Mancinelli, Giampiero, Cogan, Julien"
def test_protection_oai():
"""['oai:cds.cern.ch:1513204', 'oai:cds.cern.ch:1512766']"""
record = load_record('cds.cern.ch', 1513204)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment