postings.txt fails when run under a non-English locale
Bug #318842 reported by
Francis J. Lacoste
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Curtis Hovey |
Bug Description
My locale is french.
Output of locale is:
[francis@Huxley testfix]$ locale
LANG=fr_CA.UTF-8
LANGUAGE=
LC_CTYPE=
LC_MESSAGES=
LC_ALL=fr_CA.UTF-8
When running the MailmanLayer tests, postings.txt fails because the Maimlan generated messages are in French:
Related branches
lp:~sinzui/launchpad/enable-tests-0
- Edwin Grubbs (community): Approve (code)
- Benji York (community): Approve (code*)
-
Diff: 232 lines (+78/-42)7 files modifiedlib/canonical/launchpad/doc/emailaddress.txt (+9/-7)
lib/lp/app/javascript/tests/test_lp_collapsibles.html (+6/-6)
lib/lp/app/javascript/tests/test_lp_collapsibles.js (+17/-9)
lib/lp/app/windmill/testing.py (+21/-0)
lib/lp/app/windmill/tests/test_yuitests.py (+24/-0)
lib/lp/registry/javascript/tests/test_milestone_table.html (+1/-1)
lib/lp/services/mailman/doc/postings.txt (+0/-19)
Changed in launchpad-registry: | |
status: | New → Triaged |
Changed in launchpad-registry: | |
importance: | Undecided → High |
Changed in launchpad-registry: | |
milestone: | none → 10.12 |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
tags: | added: qa-ok |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad-registry: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I image the easiest way to address this is to ensure the en lang and LC_ env vars are exported to the testrunner's env.