/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 breezy/tests/test_errors.py

  • Committer: Jelmer Vernooij
  • Date: 2019-12-23 01:39:21 UTC
  • mfrom: (7424 work)
  • mto: This revision was merged to the branch mainline in revision 7425.
  • Revision ID: jelmer@jelmer.uk-20191223013921-2kzd0wlcoylgxksk
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
388
388
            "you wish to keep, and delete it when you are done.",
389
389
            str(err))
390
390
 
391
 
    def test_unable_create_symlink(self):
392
 
        err = errors.UnableCreateSymlink()
393
 
        self.assertEqual(
394
 
            "Unable to create symlink on this platform",
395
 
            str(err))
396
 
        err = errors.UnableCreateSymlink(path=u'foo')
397
 
        self.assertEqual(
398
 
            "Unable to create symlink 'foo' on this platform",
399
 
            str(err))
400
 
        err = errors.UnableCreateSymlink(path=u'\xb5')
401
 
        self.assertEqual(
402
 
            "Unable to create symlink %s on this platform" % repr(u'\xb5'),
403
 
            str(err))
404
 
 
405
391
    def test_invalid_url_join(self):
406
392
        """Test the formatting of InvalidURLJoin."""
407
393
        e = urlutils.InvalidURLJoin('Reason', 'base path', ('args',))