Merge lp://staging/~sil2100/unity/autopilot_fix_cmd_locale into lp://staging/unity
Proposed by
Łukasz Zemczak
Status: | Merged |
---|---|
Approved by: | Timo Jyrinki |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2882 |
Proposed branch: | lp://staging/~sil2100/unity/autopilot_fix_cmd_locale |
Merge into: | lp://staging/unity |
Diff against target: |
44 lines (+5/-3) 1 file modified
tests/autopilot/unity/tests/test_command_lens.py (+5/-3) |
To merge this branch: | bzr merge lp://staging/~sil2100/unity/autopilot_fix_cmd_locale |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Timo Jyrinki | code | Approve | |
MC Return (community) | Approve | ||
PS Jenkins bot | continuous-integration | Pending | |
Review via email: mp+133203@code.staging.launchpad.net |
Commit message
The command lens autopilot tests were failing on non-EN locales, since there is no category with the name "Results" there. Let's use gettext.
Description of the change
- Problem:
test_command_lens test cases fail on non-EN locale.
- Fix:
Locale dependent values should first get translated with a gettext call.
- Tests:
None, autopilot test fix.
To post a comment you must log in.
LGTM.