~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2485.8.20.

  • Committer: Vincent Ladeuil
  • Date: 2007-05-31 18:12:10 UTC
  • mto: (2485.8.44 bzr.connection.sharing)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070531181210-jcwx0x2t1wqathbv
Refactor SFTPTransport. Test suite passes.

* bzrlib/transport/sftp.py:
(SFTPUrlHandling): Simplified.
(SFTPTransport._remote_path): Deleted. SFTPUrlHandling now has a
simpler version.

* bzrlib/tests/test_sftp_transport.py:
Refactor the tests, most of them have gone to TestConnectedTransport.
(SFTPNonServerTest.test_parse_url_with_home_dir): Renamed from
test_parse_url and simplified to keep only specific tests.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: