tests should use C locale
Bug #969468 reported by
Jelmer Vernooij
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Undecided
|
Unassigned | ||
Breezy |
Fix Released
|
Low
|
Unassigned |
Bug Description
the tests currently rely on particular strings not being translated. for example, I have LC_ALL=de_DE and I now see some failures:
Traceback (most recent call last):
File "/home/
self.
AssertionError: pattern "^Created a standalone tree .*$" not found in
"""\
Ein standalone tree wurde erstellt (Format: 2a)
"""
We should probably force the locale to be C during the tests.
Changed in bzr: | |
status: | New → Confirmed |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: selftest |
Changed in brz: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Jelmer Vernooij пишет:
> We should probably force the locale to be C during the tests.
In QBzr and bzr-explorer we explicitly disable i18n during tests. You
don't have to force C locale, just disable i18n.