HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.10/distutils/tests/__pycache__/test_install_data.cpython-310.opt-2.pyc
o

�i
�@sv	ddlZddlZddlmZddlmZddlmZGdd�dejej	ej
ej�Zdd�Z
ed	kr9ee
��dSdS)
�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.10/distutils/tests/test_install_data.py�test_simple_runsN
� z#InstallDataTestCase.test_simple_runN)�__name__�
__module__�__qualname__rrrrrr	srcCs
t�t�S)N)�unittestZ	makeSuiterrrrr�
test_suiteGs
r$�__main__)rr#Zdistutils.command.install_datarZdistutils.testsrZtest.supportrZTempdirManagerZLoggingSilencerZEnvironGuardZTestCaserr$r rrrr�<module>s�>�