Closed fschwenn closed 9 years ago
Thanks @fschwenn
Can you update the patch to:
tests/elsevier_package_tests.py
for this calculation to avoid a similar mistake (in case of refactoring)tests/data/sample_consyn_output.xml
(e.g. setting the correct page number)Hi Jan,
isnt it enough to correct tests/data/sample_consyn_output.xml ? test_get_record(self) will check it, right?
Cheers, Florian
Florian Schwennsen Deutsches Elektronen-Synchrotron DESY Building 01 Room O1.446 phone: +49-40-8998-6190
From: "Jan Åge Lavik" notifications@github.com To: "inspirehep/harvesting-kit" harvesting-kit@noreply.github.com Cc: "Florian Schwennsen" florian.schwennsen@desy.de Sent: Monday, 23 March, 2015 15:44:25 Subject: Re: [harvesting-kit] elsevier_package.py: fix bug in calculation of number of pages (#130)
Thanks @fschwenn
Can you update the tests/elsevier_package_tests.py to:
- Add a test for this calculation to avoid a similar mistake (in case of refactoring)
- Amend the sample output record to comply with this change tests/data/sample_consyn_output.xml (e.g. setting the correct page number)
— Reply to this email directly or view it on GitHub .
Hi @fschwenn. Indeed that is enough.
PS: You can update your pull request with git push -f (for --force
) to the same branch (e.g. elsepagenum
) instead of closing and opening a new one.
Signed-off-by: fschwenn florian.schwennsen@desy.de
@fschwenn Thanks!
Signed-off-by: fschwenn florian.schwennsen@desy.de