~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-06-26 10:12:33 UTC
  • mto: This revision was merged to the branch mainline in revision 2555.
  • Revision ID: mbp@sourcefrog.net-20070626101233-hrmvl09320gt6b8m
Deprecate run_bzr_captured in favour of just  run_bzr

Show diffs side-by-side

added added

removed removed

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