~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Jonathan Lange
  • Date: 2009-06-26 08:46:52 UTC
  • mto: (4484.1.1 bring-1.16.1-back)
  • mto: This revision was merged to the branch mainline in revision 4485.
  • Revision ID: jml@canonical.com-20090626084652-x7wn8yimd3fj0j0y
Tweak NEWS slightly based on mbp's feedback.

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
 
 
250
245
    def test_unstackable_repository_format(self):
251
246
        format = u'foo'
252
247
        url = "/foo"