~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2917.3.1.

  • Committer: Vincent Ladeuil
  • Date: 2007-10-19 13:19:48 UTC
  • mto: (2949.3.1 157752)
  • mto: This revision was merged to the branch mainline in revision 2953.
  • Revision ID: v.ladeuil+lp@free.fr-20071019131948-g5793d6onl5ik5sm
Separate transport from test server.

* bzrlib/transport/ftp.py:
Move ftp test server to its own file.
(get_test_permutations): Reworked around FTPServerFeature.

* bzrlib/tests/test_ftp_transport.py:
(TestCaseWithFTPServer.setUp): Use FTPServerFeature instead of
MedusaFeature.

* bzrlib/tests/__init__.py:
(_FTPServerFeature): New feature allowing a cleaner separation
between ftp.py and FTPServer.py.

* bzrlib/tests/FTPServer.py: 
New file. Extracted from bzrlib/transport/ftp.py (use case for
tracking moving lines).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: