~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
..
__init__.py 2241.1.4 17 years ago Martin Pool Moved old weave-based repository formats into bzrl 763 bytes Diff Download File
knitrepo.py 4053.1.4 15 years ago Robert Collins Move the fetch control attributes from Repository 18.9 KB Diff Download File
pack_repo.py 4053.1.4 15 years ago Robert Collins Move the fetch control attributes from Repository 110 KB Diff Download File
weaverepo.py 4053.1.4 15 years ago Robert Collins Move the fetch control attributes from Repository 26.7 KB Diff Download File