Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/tests/__pycache__/test_install_data.cpython-35.pyc



��Yf+
�@s�dZddlZddlZddlZddlZddlmZddlmZddl	m
Z
Gdd�dejejej
ej�Zdd	�Zed
kr�e
e��dS)z)Tests for distutils.command.install_data.�N)�install_data)�support)�run_unittestc@seZdZdd�ZdS)�InstallDataTestCasec
Cs;|j�\}}t|�}tjj|d�|_}tjj|d�}|j|d�tjj|d�}tjj|d�}|j|d�|||gfg|_|j|j	�|||gfg�|j
�|j�|jt|j
��d�tjj|�d}|jtjjtjj||���tjj|�d}	|jtjjtjj||	���g|_d|_|j
�|j�|jt|j
��d�|jtjjtjj||���|jtjjtjj||	���g|_tjj|d�|_tjj|jd	�}
tjj|d
�}tjj|jd�}|j|d�|||gfd	|gf|gfg|_|j
�|j�|jt|j
��d
�|jtjjtjj||���|jtjjtjj||	���dS)N�inst�oneZxxx�inst2�two���root�inst3�inst4�threeZxx����r)Zcreate_distr�os�path�joinZinstall_dirZ
write_fileZ
data_filesZassertEqualZ
get_inputsZensure_finalizedZrun�lenZget_outputs�splitZ
assertTrue�existsZoutfilesZwarn_dirr)
�selfZpkg_dirZdist�cmdrrrr	ZrtwoZroner
rr�r�F/opt/alt/python35/lib64/python3.5/distutils/tests/test_install_data.py�test_simple_runsL%

((		

((	

(z#InstallDataTestCase.test_simple_runN)�__name__�
__module__�__qualname__rrrrrrsrcCs
tjt�S)N)�unittestZ	makeSuiterrrrr�
test_suiteIsr!�__main__)�__doc__�sysrr ZgetpassZdistutils.command.install_datarZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZEnvironGuardZTestCaserr!rrrrr�<module>s;