/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: Alexander Belchenko
  • Date: 2007-01-24 10:45:08 UTC
  • mfrom: (2236 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2242.
  • Revision ID: bialix@ukr.net-20070124104508-mwiux3wozhk8939k
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
        self.assertEqual("Knit header error: 'line foo\\n' unexpected"
52
52
                         " for file path/to/file", str(error))
53
53
 
 
54
    def test_knit_index_unknown_method(self):
 
55
        error = errors.KnitIndexUnknownMethod('http://host/foo.kndx',
 
56
                                              ['bad', 'no-eol'])
 
57
        self.assertEqual("Knit index http://host/foo.kndx does not have a"
 
58
                         " known method in options: ['bad', 'no-eol']",
 
59
                         str(error))
 
60
 
54
61
    def test_medium_not_connected(self):
55
62
        error = errors.MediumNotConnected("a medium")
56
63
        self.assertEqualDiff(