/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

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):