This is an automated notification sent by LCG Savannah.
It relates to:
task #13112, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of task #13112:
==============================================================================
Follow-up Comment #1, task #13112 (project cdsware):
I agree with Victor.
Indeed, I fixed this issue more than a month ago in my branch,
"BibRecordFixups". I realize now that I mistakenly emailed only to Tibor,
who probably lost the message in his daily deluge of email, rather than
sending it to the list.
The web page of the commit to which I refer is:
http://cdsware.cern.ch/repo/?p=personal/cds-invenio-jrbl.git;a=commit;h=bde2c7e02b0ce1a965f52da359ff8a280bc8e8e9
The explanation I included in my earlier message is as follows:
"While I was working on something else, I found myself wanting to extend the
BibRecord API. But before I did that, I wanted to run the tests, make sure
everything passed, and then write new tests for the API feature I wanted. I
was surprised when all of the unit tests didn't pass.
Since the features that were being tested for are optional, it's not strictly
correct that those tests fail - so I made them emit a warning and pass,
instead.
Also, I initially thought I could get the API functionality I wanted by
extending record_get_field_values in a fully backwards-compatible way. But I
found it hard to read, so I rewrote it to be more understandable (and
confirmed that all tests continue to pass).
Of course, now I realize what I need is a whole new call. But that's a
separate problem, and I thought I should push these items out first."
==============================================================================
OVERVIEW of task #13112:
==============================================================================
URL:
<http://savannah.cern.ch/task/?13112>
Summary: Skipped test should not fail
Project: CDS Invenio
Submitted by: vengmark
Submitted on: 2009-12-14 15:29
Should Start On: 2009-12-14 00:00
Should be Finished on: 2009-12-14 00:00
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
Output from latest Git master, command
sudo -u www-data /opt/cds-invenio/bin/inveniocfg --run-unit-tests
:
FAIL: bibrecord - create_record() with pyRXP
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/invenio/bibrecord_tests.py",
line 128, in test_pyRXP
self.fail("SKIPPED: pyRXP not available, test skipped.")
AssertionError: SKIPPED: pyRXP not available, test skipped.
AFAIK, a test should not fail if there is nothing wrong.
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: 2009-12-14 17:41 By: Joe Blaylock <jblayloc>
I agree with Victor.
Indeed, I fixed this issue more than a month ago in my branch,
"BibRecordFixups". I realize now that I mistakenly emailed only to Tibor,
who probably lost the message in his daily deluge of email, rather than
sending it to the list.
The web page of the commit to which I refer is:
http://cdsware.cern.ch/repo/?p=personal/cds-invenio-jrbl.git;a=commit;h=bde2c7e02b0ce1a965f52da359ff8a280bc8e8e9
The explanation I included in my earlier message is as follows:
"While I was working on something else, I found myself wanting to extend the
BibRecord API. But before I did that, I wanted to run the tests, make sure
everything passed, and then write new tests for the API feature I wanted. I
was surprised when all of the unit tests didn't pass.
Since the features that were being tested for are optional, it's not strictly
correct that those tests fail - so I made them emit a warning and pass,
instead.
Also, I initially thought I could get the API functionality I wanted by
extending record_get_field_values in a fully backwards-compatible way. But I
found it hard to read, so I rewrote it to be more understandable (and
confirmed that all tests continue to pass).
Of course, now I realize what I need is a whole new call. But that's a
separate problem, and I thought I should push these items out first."
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
5878 | -COM-
3964 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?13112>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/