~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Aaron Bentley
  • Date: 2009-06-29 14:51:13 UTC
  • mfrom: (4489 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4490.
  • Revision ID: aaron@aaronbentley.com-20090629145113-3w350dxgqppnzo4g
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
            "You will need to upgrade the branch to permit branch stacking.",
243
243
            str(error))
244
244
 
 
245
    def test_unstackable_location(self):
 
246
        error = errors.UnstackableLocationError('foo', 'bar')
 
247
        self.assertEqualDiff("The branch 'foo' cannot be stacked on 'bar'.",
 
248
            str(error))
 
249
 
245
250
    def test_unstackable_repository_format(self):
246
251
        format = u'foo'
247
252
        url = "/foo"