ok
Direktori : /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/ |
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyo |
� 0��`c @ s� d d l m Z d d l m Z d d l Z d d l m Z d d l m Z d d l m Z m Z m Z m Z m Z m Z m Z m Z d d l m Z d d l m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i����( t DistutilsOptionError( t TestLoaderN( t six( t map( t resource_listdirt resource_existst normalize_patht working_sett _namespace_packagest add_activation_listenert requiret EntryPoint( t Command( t unittest_maint ScanningLoaderc B s e Z d d � Z RS( c C s g } | j t j | | � � t | d � rD | j | j � � n t | d � r� x� t | j d � D]| } | j d � r� | d k r� | j d | d } n- t | j | d � rf | j d | } n qf | j | j | � � qf Wn t | � d k r| j | � S| d Sd S( s Return a suite of all tests cases contained in the given module If the module is a package, load tests from all the modules in it. If the module has an ``additional_tests`` function, call it and add the return value to the tests. t additional_testst __path__t s .pys __init__.pyt .i����s /__init__.pyi i N( t appendR t loadTestsFromModulet hasattrR R t __name__t endswithR t loadTestsFromNamet lent suiteClass( t selft modulet patternt testst filet submodule( ( sH /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR s N( R t __module__t NoneR ( ( ( sH /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyR s t NonDataPropertyc B s e Z d � Z d d � Z RS( c C s | | _ d S( N( t fget( R R$ ( ( sH /opt/alt/python27/lib/python2.7/site-packages/setuptools/command/test.pyt __init__0 s c C s | d k r | S| j | � S( N( R"