| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/test/ |
Upload File : |
ó
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"