403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyc
ó
[³XMc@s@dZddlmZddlmZdefd„ƒYZdS(s?
Tests for generic file descriptor based reactor support code.
iÿÿÿÿ(tTestCase(tisIPAddresstAddressTestscBsMeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(s2
    Tests for address-related functionality.
    cCs*|jtdƒƒ|jtdƒƒdS(sx
        L{isIPAddress} should return C{True} for any decimal dotted
        representation of an IPv4 address.
        s0.1.2.3s252.253.254.255N(t
assertTrueR(tself((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_decimalDottedscCsP|jtdƒƒ|jtdƒƒ|jtdƒƒ|jtdƒƒdS(sˆ
        L{isIPAddress} should return C{False} for a dotted decimal
        representation with fewer or more than four octets.
        t0s0.1s0.1.2s	0.1.2.3.4N(tassertFalseR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_shortDecimalDottedscCs*|jtdƒƒ|jtdƒƒdS(s|
        L{isIPAddress} should return C{False} for any non-decimal dotted
        representation including letters.
        sa.2.3.4s1.b.3.4N(RR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_invalidLetters%scCsP|jtdƒƒ|jtdƒƒ|jtdƒƒ|jtdƒƒdS(sl
        L{isIPAddress} should return C{False} for a string containing
        strange punctuation.
        t,s1,2s1,2,3s1.,.3,4N(RR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_invalidPunctuation.scCs|jtdƒƒdS(sM
        L{isIPAddress} should return C{False} for the empty string.
        tN(RR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_emptyString9scCsP|jtdƒƒ|jtdƒƒ|jtdƒƒ|jtdƒƒdS(sT
        L{isIPAddress} should return C{False} for negative decimal values.
        s-1s1.-2s1.2.-3s1.2.-3.4N(RR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_invalidNegative@scCsc|jtdƒƒ|jtdƒƒ|jtdƒƒ|jtdƒƒ|jtdƒƒdS(s
        L{isIPAddress} should return C{False} for a string containing
        positive decimal values greater than 255.
        s	256.0.0.0s	0.256.0.0s	0.0.256.0s	0.0.0.256s256.256.256.256N(RR(R((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyttest_invalidPositiveJs
(
t__name__t
__module__t__doc__RRR	RR
RR(((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyR
s								
N(Rttwisted.trial.unittestRttwisted.internet.abstractRR(((s>/usr/lib/python2.7/dist-packages/twisted/test/test_abstract.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit