~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2010-06-02 15:45:08 UTC
  • mto: (5247.6.1 http-leaks)
  • Revision ID: v.ladeuil+lp@free.fr-20100602154508-g5ojvqupg1ioq41a
Ensure a simple dialog can occur between a client and a server.

* bzrlib/tests/test_test_server.py:
(TCPClient.connect): Ensure we don't reuse a connected client.
(TCPClient.read, TCPClient.write): Basic methods to dialog with
the server.
(TCPConnectionHandler.handle): Implement a basic dialog handling
for the server.
(TestTestingServerInAThread.test_client_talks_server_respond):
Test a connection end to end.

* bzrlib/tests/test_server.py:
(TestingTCPServerMixin.verify_request): Don't process the
connection if we are not serving anymore.
Filename Latest Rev Last Changed Committer Comment Size
..
bzr-crashdb.conf 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 174 bytes Diff Download File
README 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 399 bytes Diff Download File
source_bzr.py 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 1.4 KB Diff Download File