Merge lp:~jr/bzr/i18n-unoverride-no-i18n-tests into lp:bzr
Proposed by
Jonathan Riddell
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6139 |
Proposed branch: | lp:~jr/bzr/i18n-unoverride-no-i18n-tests |
Merge into: | lp:bzr |
Diff against target: |
152 lines (+43/-12) 4 files modified
bzrlib/i18n.py (+9/-5) bzrlib/tests/__init__.py (+1/-1) bzrlib/tests/test_i18n.py (+17/-6) doc/developers/testing.txt (+16/-0) |
To merge this branch: | bzr merge lp:~jr/bzr/i18n-unoverride-no-i18n-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vincent Ladeuil | Approve | ||
Review via email: mp+75181@code.launchpad.net |
Commit message
re-enable i18n for tests which need it
add i18n info to testing documentation
add some API docs to functions which miss it
Description of the change
re-enable i18n for tests which need it
add i18n info to testing documentation
add some API docs to functions which miss it
To post a comment you must log in.
Thanks for following up on this !
70 + self.enableI18n() tr(i18n, '_translations', ZzzTranslations())
71 from bzrlib import help
72 i18n.install()
73 self.overrideAt
Since these tests are already installing a specific translation, do they really need enable18n() ? Isn't there some possible simplification across:
- i18n.installed (disable multiple installs) enable18n( ) (restore the ability to install, err, really?)
- TestCase.
- i18n._translations (backdoor to install anyway)
In fact, I think the tests do not care about i18n.installed no ?