~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-30 13:48:31 UTC
  • mto: (4029.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4030.
  • Revision ID: ian.clatworthy@canonical.com-20080730134831-swfuxgaoeeyf60ua
first cut at view command

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
        self.assertEndsWith(err_str, "; use 'bzr upgrade' to change your "
544
544
            "tree to a later format.")
545
545
 
 
546
    def test_file_outside_view(self):
 
547
        err = errors.FileOutsideView('baz', ['foo', 'bar'])
 
548
        self.assertEquals('Specified file "baz" is outside the current view: '
 
549
            'foo, bar', str(err))
 
550
 
546
551
 
547
552
class PassThroughError(errors.BzrError):
548
553