~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to tests.py

  • Committer: Michael Ellerman
  • Date: 2005-11-29 19:13:41 UTC
  • mto: (0.3.1 shelf-dev) (325.1.2 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 334.
  • Revision ID: michael@ellerman.id.au-20051129191341-ffefe5ff24e24892
Update tests for cleaner exceptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        (stdout, stderr) = self.run_bzr_captured(cmd.split(), retcode=None)
126
126
 
127
127
        self.assertEqual(stderr.split('\n')[0],
128
 
            'bzr: ERROR: bzrlib.errors.BzrCommandError: shelve only ' \
129
 
                'accepts a single revision parameter.')
 
128
            'bzr: ERROR: shelve only accepts a single revision parameter.')