~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2009-03-01 10:02:00 UTC
  • mto: (4167.1.1 integration)
  • Revision ID: v.ladeuil+lp@free.fr-20090301100200-1qdmf362uw5q35s0
Start supporting pyftpdlib as an ftp test server.

* bzrlib/transport/ftp/__init__.py:
(FtpTransport._setmode): Report mode bits in octal.

* bzrlib/transport/__init__.py:
Don't register GSSAPI ftp transports if kerberos can't be
imported, this avoids useless repeated messages in log as the
import repeatedly fail.

* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_has): Fix too long lines.
(TransportTests.test_connect_twice_is_same_content): Fig bogus
test. transport.base is *not* usable, it miss the password for
authenticated urls. This was passing only because no test server
use authentication by default *except* medusa for which we had a
dummy authorizer with no password check.

* bzrlib/tests/ftp_server/pyftpdlib_based.py: 
First shot at an ftp test server running is a separate thread.

* bzrlib/tests/ftp_server/__init__.py: 
Add support for pyftpdlib based ftp test server.
(_FTPServerFeature._probe): One of medusa or pyftpdlib is needed.
Filename Latest Rev Last Changed Committer Comment Size
..
en 3089.3.6 16 years ago Ian Clatworthy make help topics more discoverable Diff
__init__.py 4032.1.1 15 years ago John Arbash Meinel Merge the removal of all trailing whitespace, and 33.4 KB Diff Download File