/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

Merge with walkdirs

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
            host='ahost', port=444, msg='Unable to connect to ssh host',
385
385
            orig_error='my_error')
386
386
 
 
387
    def test_target_not_branch(self):
 
388
        """Test the formatting of TargetNotBranch."""
 
389
        error = errors.TargetNotBranch('foo')
 
390
        self.assertEqual(
 
391
            "Your branch does not have all of the revisions required in "
 
392
            "order to merge this merge directive and the target "
 
393
            "location specified in the merge directive is not a branch: "
 
394
            "foo.", str(error))
 
395
 
387
396
    def test_malformed_bug_identifier(self):
388
397
        """Test the formatting of MalformedBugIdentifier."""
389
398
        error = errors.MalformedBugIdentifier('bogus', 'reason for bogosity')