~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Andrew Bennetts
  • Date: 2008-04-02 00:14:00 UTC
  • mfrom: (3324 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3756.
  • Revision ID: andrew.bennetts@canonical.com-20080402001400-r1pqse38i03dl97w
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
446
446
            "Unable to create symlink u'\\xb5' on this platform",
447
447
            str(err))
448
448
 
 
449
    def test_invalid_url_join(self):
 
450
        """Test the formatting of InvalidURLJoin."""
 
451
        e = errors.InvalidURLJoin('Reason', 'base path', ('args',))
 
452
        self.assertEqual(
 
453
            "Invalid URL join request: Reason: 'base path' + ('args',)",
 
454
            str(e))
 
455
 
449
456
    def test_incorrect_url(self):
450
457
        err = errors.InvalidBugTrackerURL('foo', 'http://bug.com/')
451
458
        self.assertEquals(