%PDF- %PDF-
Direktori : /proc/thread-self/root/lib64/python2.7/unittest/test/ |
Current File : //proc/thread-self/root/lib64/python2.7/unittest/test/test_program.pyc |
� |fc @ s� d d l m Z d d l Z d d l Z d d l Z d d l Z d e j f d � � YZ d e j f d � � YZ e � Z d e f d � � YZ d e j f d � � YZ e d k r� e j � n d S( i����( t StringIONt Test_TestProgramc B sg e Z d � Z d � Z d e j f d � � YZ d e j f d � � YZ d � Z d � Z d � Z RS( c s� t j � } � g � t j j t j j t j j � � � t � _ � � � f d � } | | _ | j d � } � j � j � � j | j � � d S( Nc s t � _ � j | � � � S( N( t Truet wasRunt assertEqual( t start_dirt pattern( t expectedPatht selft tests( s2 /usr/lib64/python2.7/unittest/test/test_program.pyt _find_tests s s unittest.test( t unittestt TestLoadert ost patht abspatht dirnamet testt __file__t FalseR R t discovert assertTrueR t _tests( R t loaderR t suite( ( R R R s2 /usr/lib64/python2.7/unittest/test/test_program.pyt test_discovery_from_dotted_path s $ c s� t � � t � } d t f � f d � � Y} | � } t j j � � f d � } d � t j _ | j | � d � } | t j _ | j | � t j d | d t d d � } | j | j � � | j | j | � | j | j d � d S( Nt FakeRunnerc s e Z � f d � Z RS( c s | | _ � S( N( R ( R R ( t result( s2 /usr/lib64/python2.7/unittest/test/test_program.pyt run! s ( t __name__t __module__R ( ( R ( s2 /usr/lib64/python2.7/unittest/test/test_program.pyR s c s � t j _ d S( N( R t TestProgramt parseArgs( ( t oldParseArgs( s2 /usr/lib64/python2.7/unittest/test/test_program.pyt restoreParseArgs( s c W s d S( N( t None( t args( ( s2 /usr/lib64/python2.7/unittest/test/test_program.pyt <lambda>* t c S s t j ` d S( N( R R R ( ( ( s2 /usr/lib64/python2.7/unittest/test/test_program.pyt removeTest- s t testRunnert exitt verbosityi ( t objectR R R t addCleanupR R R R R* ( R R R t runnerR"