Homec4science

general: test fixes

Authored by Alessio Deiana <alessio.deiana@cern.ch> on Sep 10 2013, 15:02.

Description

general: test fixes

  • BibDocFile: Fixes list_bibdocs(doctype) which was looking for the relation type instead of the doctype of the attached bibdocs.
  • For tests, ignores all records that have a master format different from "marc".
  • DocExtract: fixes record tests
  • Checks that bibrec rows are not missing where running tests.
  • BibFormat: fixes bibformat unit tests
  • Make the french translation dynamic in test which means the tests will pass when translations are not installed.
  • MiscUtils: fixes import in plotextractor tests
  • Fixes dateutils tests
  • Makes the test work when language translations are not installed.

Signed-off-by: Alessio Deiana <alessio.deiana@cern.ch>
Tested-by: Samuele Kaplun <samuele.kaplun@cern.ch>

Details

Committed
Samuele Kaplun <samuele.kaplun@cern.ch>Dec 18 2013, 16:21
Parents
R3600:dbfac3ef74c7: sequtils: wait for BibUpload to finish
Branches
Unknown
Tags
Unknown

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:d156023afe98: general: test fixes (authored by Alessio Deiana <alessio.deiana@cern.ch>).Dec 18 2013, 16:21