Current Path : /usr/lib/python2.7/dist-packages/twisted/test/ |
Current File : //usr/lib/python2.7/dist-packages/twisted/test/test_ftp_options.pyc |
ó N Nc @ sv d Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d e f d „ ƒ YZ d S( s Tests for L{twisted.tap.ftp}. iÿÿÿÿ( t TestCase( t credentialst error( t Options( t versions( t FilePatht FTPOptionsTestCasec B sA e Z d Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( sJ Tests for the command line option parser used for C{twistd ftp}. t iamusert thisispasswordc C sG | j ƒ | _ t | j ƒ } | j d j | j ƒ ƒ t ƒ | _ d S( s/ Create a file with two users. t :N( t mktempt filenameR t setContentt joint usernamePasswordR t options( t selft f( ( sA /usr/lib/python2.7/dist-packages/twisted/test/test_ftp_options.pyt setUp s c C s2 | j t j d d d d ƒ | j j | j ƒ d S( ss The C{--password-file} option will emit a warning stating that said option is deprecated. t Twistedi i i N( t callDeprecatedR t VersionR t opt_password_fileR ( R ( ( sA /usr/lib/python2.7/dist-packages/twisted/test/test_ftp_options.pyt test_passwordfileDeprecation"