Rev 5833: Use a dedicated class for 'fill' tests. in file:///home/vila/src/bzr/reviews/i18n-utextwrap/

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu May 5 07:34:10 UTC 2011


At file:///home/vila/src/bzr/reviews/i18n-utextwrap/

------------------------------------------------------------
revno: 5833
revision-id: v.ladeuil+lp at free.fr-20110505073410-e3fq4p5jo7b03k6k
parent: v.ladeuil+lp at free.fr-20110505065535-s4nfj4rnkdshewyr
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: i18n-utextwrap
timestamp: Thu 2011-05-05 09:34:10 +0200
message:
  Use a dedicated class for 'fill' tests.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_utextwrap.py'
--- a/bzrlib/tests/test_utextwrap.py	2011-05-05 06:55:35 +0000
+++ b/bzrlib/tests/test_utextwrap.py	2011-05-05 07:34:10 +0000
@@ -69,6 +69,8 @@
         self.assertEqual(list(_str_D),
                          utextwrap.wrap(_str_D, 3, break_long_words=False))
 
+class TestUTextFill(tests.TestCase):
+
     def test_fill_simple(self):
         # Test only can call fill() because it's just '\n'.join(wrap(text)).
         self.assertEqual("%s\n%s" % (_str_D[:2], _str_D[2:]),



More information about the bazaar-commits mailing list