/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_errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-12-12 00:36:35 UTC
  • mfrom: (2171.1.1 knit-ignore-empty-files)
  • Revision ID: pqm@pqm.ubuntu.com-20061212003635-60d7dad38f39d19b
(John Arbash Meinel) Knit index objects should ignore empty index files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        error = errors.InstallFailed([None])
47
47
        self.assertEqual("Could not install revisions:\nNone", str(error))
48
48
 
 
49
    def test_knit_header_error(self):
 
50
        error = errors.KnitHeaderError('line foo\n', 'path/to/file')
 
51
        self.assertEqual("Knit header error: 'line foo\\n' unexpected"
 
52
                         " for file path/to/file", str(error))
 
53
 
49
54
    def test_medium_not_connected(self):
50
55
        error = errors.MediumNotConnected("a medium")
51
56
        self.assertEqualDiff(