Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.9/distutils/tests/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.9/distutils/tests/__pycache__/test_install_data.cpython-39.pyc

a

��g
�@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�three�xx�)Zcreate_distr�os�path�joinZinstall_dirZ
write_fileZ
data_filesZassertEqualZ
get_inputsZensure_finalized�run�lenZget_outputs�splitZ
assertTrue�existsZoutfilesZwarn_dirr
)
�selfZpkg_dir�dist�cmdrrrr	ZrtwoZronerrr�r�=/usr/local/lib/python3.9/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$r rrrr�<module>s�>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists