Re: Problem with run_tests.py
Albertas Agejevas <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Mon, Aug 13, 2012 at 03:10:04PM +0200, Benni Bärmann wrote: > I started > > ~/roundup-1.4.20# python ./run_tests.py > > and got after many "ok" this: > > ====================================================================== > FAIL: testEditCSV (test.test_cgi.FormTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/usr/lib/python2.6/unittest.py", line 279, in run > testMethod() > File "/root/roundup-1.4.20/./test/test_cgi.py", line 891, in testEditCSV > self.assertEqual(cl.ok_message, ['Items edited OK']) > File "/usr/lib/python2.6/unittest.py", line 350, in failUnlessEqual > (msg or '%r != %r' % (first, second)) > AssertionError: ['Die Eintr\xc3\xa4ge wurden aktualisiert'] != ['Items > edited OK'] > > ---------------------------------------------------------------------- > Ran 678 tests in 822.537s > > FAILED (failures=1) > > > Looks like a problem with translations? What to do? I think the problem is that you have a German locale, but the tests expect an Engish one. Try this: ~/roundup-1.4.20# LC_ALL=C python ./run_tests.py HTH, Albertas ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/