Merge lp://qastaging/~sil2100/unity/autopilot_fix_cmd_locale into lp://qastaging/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://qastaging/~sil2100/unity/autopilot_fix_cmd_locale
Merge into: lp://qastaging/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://qastaging/~sil2100/unity/autopilot_fix_cmd_locale
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.qastaging.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.
Revision history for this message
MC Return (mc-return) wrote :

LGTM.

review: Approve
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Works great in Finnish too! :)

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.