~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.3.8.

  • Committer: Vincent Ladeuil
  • Date: 2010-06-02 14:50:04 UTC
  • mto: (5247.6.1 http-leaks)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100602145004-mth2e7a51ox29nw5
Start implementing a TCP server running in its own thread (using
HttpServer/TestingHTTPServerMixin as a base).

* bzrlib/tests/__init__.py:
(_test_suite_testmod_names): Add test_test_server.

* bzrlib/tests/test_test_server.py:
Start testing the server in a thread.

* bzrlib/tests/test_server.py:
(TestingTCPServerMixin, TestingTCPServer)
(TestingTCPServerInAThread): Helpers to provide a test server
running in its own thread.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: