~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5247.4.24.

  • Committer: Vincent Ladeuil
  • Date: 2010-07-01 15:14:35 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-20100701151435-zx8e875m4wgjte8o
Create the ssh host key only once for a given sftp test server.

* bzrlib/tests/stub_sftp.py:
(TestingSFTPConnectionHandler.setup): Get the host key from the
test case so it's created only once.
(SFTPServer.get_host_key): Create the host key.
(SFTPServerWithoutSSH.get_host_key): No ssh ? No host key.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: