~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: John Arbash Meinel
  • Date: 2007-12-05 22:52:58 UTC
  • mfrom: (3080 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3084.
  • Revision ID: john@arbash-meinel.com-20071205225258-kn799zf3tewncv7p
[merge] bzr.dev 3080

Show diffs side-by-side

added added

removed removed

Lines of Context:
409
409
            "Unable to create symlink u'\\xb5' on this platform",
410
410
            str(err))
411
411
 
 
412
    def test_incorrect_url(self):
 
413
        err = errors.InvalidBugTrackerURL('foo', 'http://bug.com/')
 
414
        self.assertEquals(
 
415
            ("The URL for bug tracker \"foo\" doesn't contain {id}: "
 
416
             "http://bug.com/"),
 
417
            str(err))
 
418
 
412
419
 
413
420
class PassThroughError(errors.BzrError):
414
421