| 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/unittest/ |
Upload File : |
ó
—|_c @ s¦ d Z d d l Z d d l m Z d d l m Z e Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ
d
e f d „ ƒ YZ d „ Z d
e f d „ ƒ YZ
d S( t TestSuiteiÿÿÿÿNi ( t case( t utilc C s t | | d „ ƒ } | ƒ d S( Nc S s d S( N( t None( ( ( s$ /usr/lib/python2.7/unittest/suite.pyt <lambda> s ( t getattr( t parentt attrt func( ( s$ /usr/lib/python2.7/unittest/suite.pyt _call_if_exists s t
BaseTestSuitec B sz e Z d Z d d „ Z d „ Z d „ Z d „ Z d
Z d „ Z d „ Z
d „ Z d „ Z d „ Z
d
„ Z d „ Z RS( sN A simple test suite that doesn't provide class or module shared fixtures.
c C s g | _ | j | ƒ d S( N( t _testst addTests( t selft tests( ( s$ /usr/lib/python2.7/unittest/suite.pyt __init__ s c C s d t j | j ƒ t | ƒ f S( Ns
<%s tests=%s>( R t strclasst __class__t list( R
( ( s$ /usr/lib/python2.7/unittest/suite.pyt __repr__ s c C s, t | | j ƒ s t St | ƒ t | ƒ k S( N( t
isinstanceR t NotImplementedR ( R
t other( ( s$ /usr/lib/python2.7/unittest/suite.pyt __eq__ s c C s | | k S( N( ( R
R ( ( s$ /usr/lib/python2.7/unittest/suite.pyt __ne__ s c C s
t | j ƒ S( N( t iterR ( R
( ( s$ /usr/lib/python2.7/unittest/suite.pyt __iter__% s c C s+ d } x | D] } | | j ƒ 7} q
W| S( Ni ( t countTestCases( R
t casest test( ( s$ /usr/lib/python2.7/unittest/suite.pyR ( s
c C sw t | d ƒ s- t d j t | ƒ ƒ ƒ ‚ n t | t ƒ rc t | t j t f ƒ rc t d ƒ ‚ n | j
j | ƒ d S( Nt __call__s {} is not callablesN TestCases and TestSuites must be instantiated before passing them to addTest()( t hasattrt TypeErrort formatt reprR t typet
issubclassR t TestCaseR R t append( R
R ( ( s$ /usr/lib/python2.7/unittest/suite.pyt addTest. s c C s@ t | t ƒ r t d ƒ ‚ n x | D] } | j | ƒ q% Wd S( Ns0 tests must be an iterable of tests, not a string( R t
basestringR R' ( R
R R ( ( s$ /usr/lib/python2.7/unittest/suite.pyR 8 s
c C s, x% | D] } | j r Pn | | ƒ q W| S( N( t
shouldStop( R
t resultR ( ( s$ /usr/lib/python2.7/unittest/suite.pyt run>