/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 bzrlib/tests/test_knit.py

  • Committer: Robert Collins
  • Date: 2008-10-21 03:47:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3788.
  • Revision ID: robertc@robertcollins.net-20081021034713-dhjfb9ypmnyr6nga
Ensure SHA1KnitCorrupt formats ok.

Show diffs side-by-side

added added

removed removed

Lines of Context:
943
943
        err = self.assertRaises(errors.KnitCorrupt,
944
944
            target.get_record_stream([broken], 'unordered', True).next)
945
945
        self.assertEqual(['gam\n', 'bar\n'], err.content)
 
946
        # Test for formatting with live data
 
947
        self.assertStartsWith(str(err), "Knit ")
946
948
 
947
949
 
948
950
class TestKnitIndex(KnitTests):