~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Robert Collins
  • Date: 2008-09-02 05:28:37 UTC
  • mfrom: (3675 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3677.
  • Revision ID: robertc@robertcollins.net-20080902052837-ec3qlv41q5e7f6fl
Resolve conflicts with NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2267
2267
    def test_construct_version_three_server_protocol(self):
2268
2268
        smart_protocol = protocol.ProtocolThreeDecoder(None)
2269
2269
        self.assertEqual('', smart_protocol.unused_data)
2270
 
        self.assertEqual('', smart_protocol._in_buffer)
 
2270
        self.assertEqual([], smart_protocol._in_buffer_list)
 
2271
        self.assertEqual(0, smart_protocol._in_buffer_len)
2271
2272
        self.assertFalse(smart_protocol._has_dispatched)
2272
2273
        # The protocol starts by expecting four bytes, a length prefix for the
2273
2274
        # headers.