/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

  • Committer: John Arbash Meinel
  • Date: 2009-07-08 14:37:25 UTC
  • mfrom: (4516 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4517.
  • Revision ID: john@arbash-meinel.com-20090708143725-sc9sjy3mz4cxwxzz
Merge bzr.dev 4516

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"