~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/ftp_server/__init__.py

  • Committer: Samuel Bronson
  • Date: 2012-08-30 20:36:18 UTC
  • mto: (6015.57.3 2.4)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: naesten@gmail.com-20120830203618-y2dzw91nqpvpgxvx
Update INSTALL for switch to Python 2.6 and up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
 
 
17
16
"""
18
17
Facilities to use ftp test servers.
19
18
"""
21
20
import sys
22
21
 
23
22
from bzrlib import tests
24
 
from bzrlib.tests import (
25
 
    features,
26
 
    )
27
23
 
28
24
 
29
25
try:
46
42
    pyftpdlib_available = False
47
43
 
48
44
 
49
 
class _FTPServerFeature(features.Feature):
 
45
class _FTPServerFeature(tests.Feature):
50
46
    """Some tests want an FTP Server, check if one is available.
51
47
 
52
48
    Right now, the only way this is available is if one of the following is