~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_annotate.py

  • Committer: Vincent Ladeuil
  • Date: 2010-03-02 07:38:15 UTC
  • mto: (5067.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5068.
  • Revision ID: v.ladeuil+lp@free.fr-20100302073815-0ymcuompxllxvvd0
Use assertLength where appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        out, err = self.run_bzr('annotate hello.txt -r 10',
141
141
                                retcode=3)
142
142
        self.assertEqual('', out)
143
 
        self.assertContainsRe(err, "Requested revision: '10' does not exist")
 
143
        self.assertContainsRe(err, 'Requested revision: \'10\' does not exist')
144
144
 
145
145
    def test_annotate_cmd_two_revisions(self):
146
146
        out, err = self.run_bzr('annotate hello.txt -r1..2',