%PDF- %PDF-
Direktori : /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/ |
Current File : //opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyo |
� 5}�ac @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d e j e j e j f d � � YZ d � Z e d k r� e e � � n d S( s# Tests for distutils.command.config.i����N( t run_unittest( t dump_filet config( t support( t logt ConfigTestCasec B sb e Z d � Z d � Z d � Z d � Z e j e j d k d � d � � Z d � Z d � Z RS( c G s+ x$ | j � D] } | j j | � q Wd S( N( t splitlinest _logst append( t selft msgt argst line( ( sH /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyt _info s c C s8 t t | � j � g | _ t j | _ | j t _ d S( N( t superR t setUpR R t infot old_logR ( R ( ( sH /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyR s c C s# | j t _ t t | � j � d S( N( R R R R R t tearDown( R ( ( sH /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyR s c C sx t j j t � d d } t | � } z t | j � � } Wd | j � Xt | d � | j t | j � | d � d S( Ni s .pys I am the headeri ( t ost patht splitextt __file__t opent lent readlinest closeR t assertEqualR ( R t this_filet ft numlines( ( sH /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyt test_dump_file s t win32s can't test on Windowsc C sr | j � \ } } t | � } | j d d d d � } | j | d � | j d d d d � } | j | d � d S( Nt patternt xxxt bodys /* xxx */i t _configtesti ( t create_distR t search_cppR ( R t pkg_dirt distt cmdt match( ( sH /opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_config_cmd.pyt test_search_cpp( s c C s� | j � \ } } t | � } d t j | _ d | _ d t j | _ | j � | j | j d d g � | j | j d g � | j | j d d g � d S( Ns one%stwot ones three%sfourt twot threet four( R% R R t pathsept include_dirst librariest library_dirst ensure_finalizedR ( R R'