��Qc@s�dZddlZddlZddlZddlZddlmZddlmZddl m
Z
dejejej
ejfd��YZd�Zed kr�e
e��ndS(
s)Tests for distutils.command.install_data.i�N(tinstall_data(tsupport(trun_unittesttInstallDataTestCasecBseZd�ZRS(c
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(Ntinsttonetxxxtinst2ttwoii�itroottinst3tinst4tthreetxxi(tcreate_distRtostpathtjointinstall_dirt
write_filet
data_filestassertEqualt
get_inputstensure_finalizedtruntlentget_outputstsplitt
assertTruetexiststoutfilestwarn_dirR (
tselftpkg_dirtdisttcmdRRRRtrtwotroneR
RR((s7/sys/lib/python2.7/distutils/tests/test_install_data.pyttest_simple_runsL%
((
((
((t__name__t
__module__R&(((s7/sys/lib/python2.7/distutils/tests/test_install_data.pyRscCs
tjt�S(N(tunittestt makeSuiteR(((s7/sys/lib/python2.7/distutils/tests/test_install_data.pyt
test_suiteIst__main__(t__doc__tsysRR)tgetpasstdistutils.command.install_dataRtdistutils.testsRttest.test_supportRtTempdirManagertLoggingSilencertEnvironGuardtTestCaseRR+R'(((s7/sys/lib/python2.7/distutils/tests/test_install_data.pyt<module>s ;
|