~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-26 08:05:45 UTC
  • mfrom: (5916 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5917.
  • Revision ID: john@arbash-meinel.com-20110526080545-5tprxfczyj4bfk0o
Merge bzr.dev 5916 and make sure the right patch is applied.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1493
1493
        smart_protocol._has_dispatched = True
1494
1494
        smart_protocol.request = _mod_request.SmartServerRequestHandler(
1495
1495
            None, _mod_request.request_handlers, '/')
 
1496
        # GZ 2010-08-10: Cycle with closure affects 4 tests
1496
1497
        class FakeCommand(_mod_request.SmartServerRequest):
1497
1498
            def do_body(self_cmd, body_bytes):
1498
1499
                self.end_received = True