Merge ~ines-almeida/launchpad:force-tests-container-locale into launchpad:master
Proposed by
Ines Almeida
Status: | Merged |
---|---|
Approved by: | Ines Almeida |
Approved revision: | 55bbfa804a55184c6a095109928c78d6721e3b35 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ines-almeida/launchpad:force-tests-container-locale |
Merge into: | launchpad:master |
Diff against target: |
22 lines (+4/-0) 1 file modified
lib/lp/scripts/utilities/test.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+440031@code.launchpad.net |
Commit message
Force test container locale
This prevents local setups from influencing test results regarding locale setup.
Description of the change
Added a quick locale setup in the environment configuration in `lp/scripts/
Tested it locally in tests that were failing, and it "fixed" the issue
To post a comment you must log in.
FYI, had a look into using `os.environ` but for that we would need to change all locale variables, this seemed much cleaner.