Commit 3fd3888e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update the tests.

parent f8d55879
......@@ -60,7 +60,7 @@ def recordfix(record):
def test_find_authors_by_affiliation(recordfix):
rex = current.app.reg_institute
assert rex == "Marseille, CPPM|CPPM, Marseille"
assert rex == "Marseille, CPPM|CPPM, Marseille|Centre de Physique des Particules de Marseille (CPPM)"
authors = recordfix.find_authors_by_affiliation(rex, family_name_fr)
assert authors.split(', ') == CPPM_AUTHORS
......
......@@ -28,4 +28,4 @@ def test_name(institute):
def test_rex(institute):
assert institute.rex() == r'Marseille, CPPM|CPPM, Marseille'
assert institute.rex() == r'Marseille, CPPM|CPPM, Marseille|Centre de Physique des Particules de Marseille (CPPM)'
\ No newline at end of file
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