| 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 : |
ó
Jò=Gc @ se d d l m Z d d l m Z m Z e d ƒ Z d e f d „ ƒ YZ d e j f d „ ƒ YZ
d S( iÿÿÿÿ( t unittest( t TestSuitet
suiteVisitR t MockVisitorc B s e Z d „ Z d „ Z RS( c C s
g | _ d S( N( t calls( t self( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyt __init__ s c C s | j j | ƒ d S( N( R t append( R t testCase( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyt __call__
s ( t __name__t
__module__R R ( ( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyR s t TestTestVisitorc B sG e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t ƒ | _ d S( N( R t visitor( R ( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyt setUp s c C s9 t d ƒ } | j | j ƒ | j | j j | g ƒ d S( sB
Test that C{visit} works for a single test case.
t test_visitCaseN( R t visitR
t assertEqualR ( R R ( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyR s c C sN t d ƒ t d ƒ g } t | ƒ } | j | j ƒ | j | j j | ƒ d S( s?
Test that C{visit} hits all tests in a suite.
R t test_visitSuiteN( R R R R
R R ( R t testst testSuite( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyR s
c C s- t ƒ j | j ƒ | j | j j g ƒ d S( sD
Test that C{visit} on an empty suite hits nothing.
N( R R R
R R ( R ( ( sH /usr/lib/python2.7/dist-packages/twisted/trial/test/test_test_visitor.pyt test_visitEmptySuite+ s c C sj t d ƒ t d ƒ g } t g | D] } t | g ƒ ^ q"