/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_i18n.py

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:22:34 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7306.
  • Revision ID: jelmer@jelmer.uk-20190529032234-mt3fuws8gq03tapi
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
            self.assertContainsRe(err, u"zz\xe5{{Not a branch: .*}}")
169
169
        else:
170
170
            self.assertContainsRe(
171
 
                    err, u"zz\xe5{{Not a branch: .*}}".encode('utf-8'))
 
171
                err, u"zz\xe5{{Not a branch: .*}}".encode('utf-8'))
172
172
 
173
173
    def test_topic_help_translation(self):
174
174
        """does topic help get translated?"""
175
175
        from .. import help
176
176
        out = io.StringIO()
177
177
        help.help("authentication", out)
178
 
        self.assertContainsRe(out.getvalue(), "zz\xe5{{Authentication Settings")
 
178
        self.assertContainsRe(
 
179
            out.getvalue(), "zz\xe5{{Authentication Settings")
179
180
 
180
181
 
181
182
class LoadPluginTranslations(tests.TestCase):