Hi Victor, In data martedì 23 febbraio 2010 16:15:56, Victor Engmark ha scritto: > On Tue, Feb 23, 2010 at 3:43 PM, Victor Engmark > Sorry all, found the error: I was expecting there to be entries in the > bibrec table when running the unit tests (I have always run them after > creating the demo site).
as Tibor suggested in an other email, following the Invenio developing guidelines (<http://invenio-demo.cern.ch/help/hacking/test-suite#3.1>), since you are working with the database, you should better move your tests to the _regression_tests.py module. Normally all the unit test don't work on database data and are not necessary expecting to have the demo records being loaded... Cheers! Sam -- Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>
