Commit 8e765bb5 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update test_record_non_conformities to fix authors order.

parent ed0508b2
......@@ -21,10 +21,10 @@ def test_protection_find_authors_by_affiliation():
record = load_record('', 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"
assert authors == u"Akar, Simon, Aslanides, Elie, Cogan, Julien, " \
u"Kanso, Walaa, Le Gac, Renaud, Leroy, Olivier, " \
u"Mancinelli, Giampiero, Mordà, Alessandro, " \
u"Serrano, Justine, Tsaregorodtsev, Andrei"
def test_protection_first_author():
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