Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
8e765bb5
Commit
8e765bb5
authored
Sep 19, 2016
by
LE GAC Renaud
Browse files
Update test_record_non_conformities to fix authors order.
parent
ed0508b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tests/invenio_tools/Record/test_record_non_conformities.py
tests/invenio_tools/Record/test_record_non_conformities.py
+4
-4
No files found.
tests/invenio_tools/Record/test_record_non_conformities.py
View file @
8e765bb5
...
...
@@ -21,10 +21,10 @@ def test_protection_find_authors_by_affiliation():
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
"
K
an
so, 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
"
M
an
cinelli, Giampiero, Mordà, Alessandro
, "
\
u
"
Serrano, Justine, Tsaregorodtsev, Andrei
"
def
test_protection_first_author
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment