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/trial/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyc
ó
°úëMc@sUdZddlmZmZmZmZddlmZdejfd„ƒYZ	dS(s!
Test Twisted's doctest support.
iÿÿÿÿ(titrialtrunnertunittesttreporter(tmockdoctesttTestRunnerscBs>eZdZd„Zd„Zd„Zdd„Zd„ZRS(s.
    Tests for Twisted's doctest support.
    cCsXtjƒ}|jtƒ}d}x0|jD]%}|j|tj|ƒjƒƒq+WdS(sÁ
        Check that the id() of the doctests' case object contains the FQPN of
        the actual tests. We need this because id() has weird behaviour w/
        doctest in Python 2.3.
        s&twisted.trial.test.mockdoctest.CounterN(	Rt
TestLoadertloadDoctestsRt_teststassertInRt	ITestCasetid(tselftloadertsuitetidPrefixttest((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyttest_ids
cCs5tjƒ}|jtƒ}|jd|jƒƒdS(sP
        L{loadDoctests} loads all of the doctests in the given module.
        iN(RRRRtassertEqualtcountTestCases(RR
R((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyttest_basicTrialIntegrationscCsVtjƒ}|j|ƒ|jd|jƒ|jdt|jƒt|jƒƒdS(s4
        Run C{suite} and check the result.
        iiN(Rt
TestResulttrunRt	successestlenterrorstfailures(RRtresult((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyt_testRun's
icCs&tjƒjtƒ}|j|ƒdS(sL
        Trial can correctly run doctests with its xUnit test APIs.
        N(RRRRR(RtcountR((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyttest_expectedResults2scCs3tjƒjtƒ}|j|ƒ|j|ƒdS(s9
        Doctests should be runnable repeatably.
        N(RRRRR(RR((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyttest_repeatable:s
(t__name__t
__module__t__doc__RRRRR(((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyRs	
			N(
R"t
twisted.trialRRRRttwisted.trial.testRtTestCaseR(((sC/usr/lib/python2.7/dist-packages/twisted/trial/test/test_doctest.pyt<module>s"

Youez - 2016 - github.com/yon3zu
LinuXploit