~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.4.18.

  • Committer: Vincent Ladeuil
  • Date: 2010-06-23 08:17:20 UTC
  • mto: (5247.7.1 catch-them-all)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100623081720-sfej05j25aopdpvy
Replace SocketListener by TestingTCPServerInAThread and fallouts,
only 1 test still failing, relevant tests run now in 15s instead
of 45s.

* bzrlib/tests/stub_sftp.py:
(StubServer): It's the test case server we're accessing here not
the test case itself.
(TestingSFTPConnectionHandler)
(TestingSFTPWithoutSSHConnectionHandler, TestingSFTPServer): New
helpers classes to split the previous implementation.
(SFTPServer): Reimplemnted based on TestingTCPServerInAThread.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: