~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-04-10 21:05:17 UTC
  • mto: (1551.19.24 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 2405.
  • Revision ID: abentley@panoramicfeedback.com-20070410210517-0m7mhl5d2fhs66u5
Move cat-revision tests out of test_revision_info

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
            return self.run_bzr_captured(args, retcode=retcode)[0]
125
125
        else:
126
126
            return self.run_bzr_captured(args, retcode=retcode)
 
127
 
 
128
    def check_output(self, output, *args):
 
129
        """Verify that the expected output matches what bzr says.
 
130
 
 
131
        The output is supplied first, so that you can supply a variable
 
132
        number of arguments to bzr.
 
133
        """
 
134
        self.assertEquals(self.run_bzr_captured(args)[0], output)