Current File : //home/strato/chroot/opt/RZpython2/lib/python2.7/distutils/tests/test_install_data.pyo |
�
��#ec @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m
Z
d e j 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.install_data.i����N( t install_data( t support( t run_unittestt InstallDataTestCasec B s e Z d � Z RS( c
C s; | j � \ } } t | � } t j j | d � | _ } t j j | d � } | j | d � t j j | d � } t j j | d � } | j | d � | | | g f g | _ | j | j � | | | g f g � | j
� | j � | j t | j
� � d � t j j | � d } | j t j j t j j | | � � � t j j | � d } | j t j j t j j | | � � � g | _ d | _ | j
� | j � | j t | j
� � d � | j t j j t j j | | � � � | j t j j t j j | | � � � g | _ t j j | d � | _ t j j | j d
� }
t j j | d � } t j j | j d � } | j | d
� | | | g f d
| g f | g f g | _ | j
� | j � | j t | j
� � d � | j t j j t j j | | � � � | j t j j t j j | | � � � d S( Nt instt onet xxxt inst2t twoi i����i t roott inst3t inst4t threet xxi ( t create_distR t ost patht joint install_dirt
write_filet
data_filest assertEqualt
get_inputst ensure_finalizedt runt lent get_outputst splitt
assertTruet existst outfilest warn_dirR (
t selft pkg_dirt distt cmdR R R R t rtwot roneR
R R ( ( sA /opt/RZpython2/lib/python2.7/distutils/tests/test_install_data.pyt test_simple_run sL %
((
((
(( t __name__t
__module__R&