~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_rio.py

  • Committer: Aaron Bentley
  • Date: 2007-03-01 18:16:00 UTC
  • mto: (2323.6.9 0.15-integration)
  • mto: This revision was merged to the branch mainline in revision 2330.
  • Revision ID: abentley@panoramicfeedback.com-20070301181600-vs3elfjgigoskuuk
Reduce max width to 72

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
        lines = rio.to_patch_lines(stanza)
368
368
        for line in lines:
369
369
            self.assertContainsRe(line, '^# ')
370
 
            self.assertTrue(76 >= len(line))
 
370
            self.assertTrue(72 >= len(line))
 
371
        for line in rio.to_patch_lines(stanza, max_width=12):
 
372
            self.assertTrue(12 >= len(line))
371
373
        lines = self.mail_munge(lines)
372
374
        new_stanza = rio.read_patch_stanza(lines)
373
375
        self.assertEqual('#\n\r\\r ', new_stanza.get('data'))