Andrew: > I'm assuming that this test failure is just time zone > silliness in > Moscow? Perhaps my system is just different than > something standard. > Is a better test in order? > > ................. > > Failure in test doctest_ViewPrefences > (schooltool.app.browser.tests.test_browser) > Traceback (most recent call last): > File > "/home/abell/schooltool/python/lib/python2.6/unittest.py", > line > 279, in run > testMethod() > File > "/home/abell/schooltool/python/lib/python2.6/doctest.py", > line > 2152, in runTest > raise > self.failureException(self.format_failure(new.getvalue())) > AssertionError: Failed doctest test for > schooltool.app.browser.tests.test_browser.doctest_ViewPrefences > File > "/home/abell/schooltool/src/schooltool/app/browser/tests/test_browser.py", > line 319, in doctest_ViewPrefences > > ---------------------------------------------------------------------- > File > "/home/abell/schooltool/src/schooltool/app/browser/tests/test_browser.py", > line 388, in > schooltool.app.browser.tests.test_browser.doctest_ViewPrefences > Failed example: > prefs.timezone.tzname(datetime.utcnow()) > Expected: > 'MSD' > Got: > 'MSK'
This failure is related to https://bugs.launchpad.net/schooltool/+bug/622615 If you have compiled translations in your check out, some output from the tests is printed according to your LANG environment variable. For instance, I have it set to "es_SV.UTF-8" and if I run the tests having compiled translations, part of the output is in Spanish. A work around to run the tests is to set the variable like this: $ LANG=C make test ftest I hope this helps. Douglas "... allí es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint. Vea http://www.gnu.org/philosophy/no-word-attachments.es.html _______________________________________________ Mailing list: https://launchpad.net/~schooltool-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~schooltool-developers More help : https://help.launchpad.net/ListHelp

