~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_i18n.py

  • Committer: Vincent Ladeuil
  • Date: 2011-06-27 15:52:06 UTC
  • mto: (5993.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5994.
  • Revision ID: v.ladeuil+lp@free.fr-20110627155206-erxoqocysuv4oskj
Fix more test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 
68
68
    def setUp(self):
69
69
        super(TestGetText, self).setUp()
70
 
        self.overrideAttr(i18n, '_translation', ZzzTranslations())
 
70
        self.overrideAttr(i18n, '_translations', ZzzTranslations())
71
71
 
72
72
    def test_oneline(self):
73
73
        self.assertEqual(u"zz{{spam ham eggs}}",
82
82
 
83
83
    def setUp(self):
84
84
        super(TestGetTextPerParagraph, self).setUp()
85
 
        self.overrideAttr(i18n, '_translation', ZzzTranslations())
 
85
        self.overrideAttr(i18n, '_translations', ZzzTranslations())
86
86
 
87
87
    def test_oneline(self):
88
88
        self.assertEqual(u"zz{{spam ham eggs}}",