~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_init.py

  • Committer: Vincent Ladeuil
  • Date: 2010-06-07 16:52:24 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-20100607165224-9fl60mc25u3e958w
Fix broken test.

* bzrlib/tests/test_test_server.py:
(TestTCPServerInAThread.test_start_stop): Ouch, don't let the
client connect or the server will block waiting for some
input. That's not what the test is about.

* bzrlib/tests/test_server.py:
(TestingTCPServerMixin.handle_request): python's version swallow
some exxceptions we want to catch.

Show diffs side-by-side

added added

removed removed

Lines of Context: