Your IP : 216.73.216.213


Current Path : /opt/alt/python38/lib64/python3.8/distutils/tests/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/distutils/tests/__pycache__/test_install_data.cpython-38.pyc

U

i�f
�@stdZddlZddlZddlmZddlmZddlmZGdd�dej	ej
ejej�Z
dd	�Zed
krpee��dS)z)Tests for distutils.command.install_data.�N)�install_data)�support)�run_unittestc@seZdZdd�ZdS)�InstallDataTestCasec
CsF|��\}}t|�}tj�|d�|_}tj�|d�}|�|d�tj�|d�}tj�|d�}|�|d�|||gfg|_|�|�	�|||gfg�|�
�|��|�t|�
��d�tj�|�d}|�tj�tj�||���tj�|�d}	|�tj�tj�||	���g|_d|_|�
�|��|�t|�
��d�|�tj�tj�||���|�tj�tj�||	���g|_tj�|d	�|_tj�|jd
�}
tj�|d�}tj�|jd�}|�|d
�|||gfd
|gf|gfg|_|�
�|��|�t|�
��d�|�tj�tj�||���|�tj�tj�||	���dS)N�inst�oneZxxx�inst2�two������root�inst3�inst4�threeZxx�)Zcreate_distr�os�path�joinZinstall_dirZ
write_fileZ
data_filesZassertEqualZ
get_inputsZensure_finalized�run�lenZget_outputs�splitZ
assertTrue�existsZoutfilesZwarn_dirr
)
�selfZpkg_dirZdist�cmdrrrr	ZrtwoZronerrr�r�F/opt/alt/python38/lib64/python3.8/distutils/tests/test_install_data.py�test_simple_runsN
�z#InstallDataTestCase.test_simple_runN)�__name__�
__module__�__qualname__rrrrrr	srcCs
t�t�S)N)�unittestZ	makeSuiterrrrr�
test_suiteGsr"�__main__)�__doc__rr!Zdistutils.command.install_datarZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZEnvironGuardZTestCaserr"rrrrr�<module>s�>