2014-01-13 16:52:27 |
Olivier Tilloy |
description |
Some autopilot tests fail when run locally on a system with a locale setting that is not English.
On my laptop (where LANG=fr_FR.UTF-8), on of such failures is for calendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_selected:
Traceback (most recent call last):
File "/home/osomon/dev/phablet/calendar-app/tests/autopilot/calendar_app/tests/test_dayview.py", line 44, in test_current_month_and_year_is_selected
Equals(expected_month_name))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 'January' != u'janvier'
The tests should be fixed to not make implicit assumptions on the current locale. |
Some autopilot tests fail when run locally on a system with a locale setting that is not English.
On my laptop (where LANG=fr_FR.UTF-8), one of such failures is for calendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_selected:
Traceback (most recent call last):
File "/home/osomon/dev/phablet/calendar-app/tests/autopilot/calendar_app/tests/test_dayview.py", line 44, in test_current_month_and_year_is_selected
Equals(expected_month_name))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: 'January' != u'janvier'
The tests should be fixed to not make implicit assumptions on the current locale. |
|