~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_i18n.py

(jr) enable translations globally (Jonathan Riddell)

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
        self.overrideEnv('LANG', None)
110
110
        i18n.install()
111
111
 
 
112
    def test_disable_i18n(self):
 
113
        i18n.disable_i18n()
 
114
        i18n.install()
 
115
        self.assertTrue(isinstance(i18n._translations, i18n._gettext.NullTranslations))
 
116
 
112
117
class TestTranslate(tests.TestCaseWithTransport):
113
118
 
114
119
    def setUp(self):