Hello: On Fri, 29 Jun 2007, Torger Tokle wrote:
> ====================================================================== > ERROR: dateutils - conversion of bad text date into Slovak GUI date > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/invenio/dateutils_tests.py", > line 86, in test_convert_bad_to_dategui_sk > ln='sk') > File "/usr/lib/python2.4/site-packages/invenio/dateutils.py", line 69, > in convert_datetext_to_dategui > _ = gettext_set_language(ln) > File "/usr/lib/python2.4/site-packages/invenio/messages.py", line 28, > in gettext_set_language > return lang[ln].gettext > KeyError: 'sk' You can safely ignore this. It is most probably due to your not enabling the Slovak translation on your installation. This test case kind of supposes that you run it on the Atlantis demo site. > ====================================================================== > FAIL: bibformat - correct formatting > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/invenio/bibformat_engine_tests.py", > line 657, in test_format_record > self.assertEqual(result,'''<h1>hi</h1> this is my > template\ntest<bfe_non_existing_element must disappear/><test_1 non > prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test > me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a > default valueeditor\n<br/>test me!<b>ok</b>a default > valueeditor\n''') > AssertionError: '<h1>hi</h1> this is my > template\ntest<bfe_non_existing_element must disappear/><test_1 non > prefixed element must stay as any normal > tag/>ten<fr>tfr</fr>garbage\n<br/>test me!<b>ok</b>a default > valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test > me!<b>ok</b>a default valueeditor\n' != '<h1>hi</h1> this is > my template\ntest<bfe_non_existing_element must disappear/><test_1 non > prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test > me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a > default valueeditor\n<br/>test me!<b>ok</b>a default > valueeditor\n' Ditto here, it is probable that the error appears due to your not enabling the French translation on your site. (We should probably move these tests from the unit testing framework into the regression testing framework in order to make the dependencies clearer.) Best regards -- Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>
