|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21571/root/usr/lib64/python2.4/distutils/tests/ |
Upload File : |
mņ
=5Dc @ s° d Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k l
Z
d e i i f d YZ
d e i i f d YZ d e i f d YZ d Z d S(
s Tests for distutils.dist.N( s TESTFNt test_distc B s t Z d Z d g Z d Z RS( s# Sample distutils extension command.s sample-option=t Ss help textc C s
d | _ d S( N( t Nonet selft
sample_option( R ( ( t1 /usr/lib64/python2.4/distutils/tests/test_dist.pyt initialize_options s ( s sample-option=R s help text( t __name__t
__module__t __doc__t user_optionsR ( ( ( R R s t TestDistributionc B s t Z d Z d Z RS( s² Distribution subclasses that avoids the default search for
configuration files.
The ._config_files attribute must be set before
.parse_config_files() is called.
c C s | i S( N( R t
_config_files( R ( ( R t find_config_files! s ( R R R R
( ( ( R R s t DistributionTestCasec B sA t Z d Z d Z f d Z d Z d Z d Z RS( Nc C s t i | _ t i d 3d S( Ni ( t syst argvR ( R ( ( R t setUp' s
c C s | i t i (d S( N( R R R ( R ( ( R t tearDown+ s c C s* t } | | _ | i | i | S( N( R t dt configfilesR t parse_config_filest parse_command_line( R R R ( ( R t create_distribution. s
c C s9 t i i d | i } | i | i d g d S( Nt builds distutils.command( R R t appendR R R t assertEqualt get_command_packages( R R ( ( R t! test_command_packages_unspecified5 s c C s t i i d d d d g | i } | i | i d d d g | i d } | i
t | t | i | i
d d S( Ns --command-packagess foo.bar,distutils.testsR s
-Ssometexts distutils.commands foo.bars distutils.testst sometext( R R t extendR R R R R t get_command_objt cmdt assert_t
isinstanceR R ( R R R ( ( R t test_command_packages_cmdline: s c C s t i i d t t d } zŲ | d IJ| d IJ| i | i t g } | i
| i d d d g d d d g t i d
)| i t g } | i
| i d d g d d d g t i d
)| i t g } | i
| i d g Wd t i
t Xd S( NR t ws [global]s! command_packages = foo.bar, splats distutils.commands foo.bart splats --command-packagest sporki t ( R R R t opent TESTFNt ft closeR R R R R t ost unlink( R R R* ( ( R t test_command_packages_configfileH s$
( R R R R R R R# R. ( ( ( R R % s c C s
t i t S( N( t unittestt makeSuiteR ( ( ( R t
test_suitec s ( R t
distutils.cmdt distutilst distutils.distR, t shutilR t tempfileR/ t test.test_supportR) R t CommandR t distt DistributionR t TestCaseR R1 ( R3 R6 R/ R R R1 R R R5 R, R) ( ( R t ? s
>