~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-16 05:55:42 UTC
  • mto: This revision was merged to the branch mainline in revision 4148.
  • Revision ID: andrew.bennetts@canonical.com-20090316055542-8dpb2i3xvmairepn
Tweaks based on review from Robert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
        self._check_call(args[0], args[1:])
272
272
        self._calls.append(('call_with_body_stream', args[0], args[1:], stream))
273
273
        result = self._get_next_response()
274
 
        return result[1], None
 
274
        # The second value returned from call_with_body_stream is supposed to
 
275
        # be a response_handler object, but so far no tests depend on that.
 
276
        response_handler = None 
 
277
        return result[1], response_handler
275
278
 
276
279
 
277
280
class FakeMedium(medium.SmartClientMedium):