$94 GRAYBYTE WORDPRESS FILE MANAGER $87

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python27/lib64/python2.7/unittest/

HOME
Current File : /opt/alt/python27/lib64/python2.7/unittest//suite.pyc
�
�V~gc@s�dZddlZddlmZddlmZeZd�Zdefd��YZ	de	fd	��YZ
d
efd��YZd�Zd
efd��YZ
dS(t	TestSuitei����Ni(tcase(tutilcCs t||d��}|�dS(NcSsdS(N(tNone(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt<lambda>t(tgetattr(tparenttattrtfunc((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt_call_if_existsst
BaseTestSuitecBszeZdZdd�Zd�Zd�Zd�Zd
Zd�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�ZRS(sNA simple test suite that doesn't provide class or module shared fixtures.
    cCsg|_|j|�dS(N(t_teststaddTests(tselfttests((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__init__s	cCs dtj|j�t|�fS(Ns
<%s tests=%s>(Rtstrclasst	__class__tlist(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__repr__scCs,t||j�stSt|�t|�kS(N(t
isinstanceRtNotImplementedR(Rtother((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__eq__scCs||kS(N((RR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__ne__scCs
t|j�S(N(titerR(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__iter__%scCs+d}x|D]}||j�7}q
W|S(Ni(tcountTestCases(Rtcasesttest((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR(s
cCswt|d�s-tdjt|����nt|t�rct|tjt	f�rctd��n|j
j|�dS(Nt__call__s{} is not callablesNTestCases and TestSuites must be instantiated before passing them to addTest()(thasattrt	TypeErrortformattreprRttypet
issubclassRtTestCaseRRtappend(RR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pytaddTest.scCs@t|t�rtd��nx|D]}|j|�q%WdS(Ns0tests must be an iterable of tests, not a string(Rt
basestringR!R((RRR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR
8s
cCs,x%|D]}|jrPn||�qW|S(N(t
shouldStop(RtresultR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pytrun>s

	cOs|j||�S(N(R,(Rtargstkwds((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyREscCsx|D]}|j�qWdS(s7Run the tests without collecting errors in a TestResultN(tdebug(RR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR/Hs
(N(t__name__t
__module__t__doc__RRRRRt__hash__RRR(R
R,RR/(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRs						
			cBsYeZdZed�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�ZRS(	s�A test suite is a composite test consisting of a number of TestCases.

    For use, create an instance of TestSuite, then add test case instances.
    When all tests have been added, the suite can be passed to a test
    runner, such as TextTestRunner. It will run the individual test cases
    in the order in which they were added, aggregating the results. When
    subclassing, do not forget to call the base class constructor.
    cCst}t|dt�tkr.t|_}nx�|D]�}|jrHPnt|�r�|j||�|j||�|j||�|j	|_
t|j	dt�s5t|dt�r�q5q�n|s�||�q5|j�q5W|r|jd|�|j
|�t|_n|S(Nt_testRunEnteredt_classSetupFailedt_moduleSetUpFailed(tFalseRtTrueR4R*t_isnotsuitet_tearDownPreviousClasst_handleModuleFixturet_handleClassSetUpRt_previousTestClassR/Rt_handleModuleTearDown(RR+R/ttopLevelR((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR,Xs,
		

cCst�}|j|t�dS(s7Run the tests without collecting errors in a TestResultN(t_DebugResultR,R8(RR/((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR/vs	c	Cs!t|dd�}|j}||kr+dS|jr8dSt|dt�rNdSy
t|_Wntk
rnnXt|dd�}|dk	rt|d�zoy|�Wn]tk
r}t	|t
�r��nt|_tj
|�}d|}|j|||�nXWdt|d�XndS(NR=t__unittest_skip__t
setUpClasst_setupStdoutssetUpClass (%s)t_restoreStdout(RRRR6R7R5R!R
t	ExceptionRR@R8RRt_addClassOrModuleLevelException(	RRR+t
previousClasstcurrentClassRBtet	classNamet	errorName((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR<}s4		


	
cCs4d}t|dd�}|dk	r0|j}n|S(NR=(RRR1(RR+tpreviousModuleRG((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt_get_previous_module�s
c	Cs
|j|�}|jj}||kr+dS|j|�t|_ytj|}Wntk
rfdSXt	|dd�}|dk	rt|d�z`y|�WnNtk
r�}t
|t�r��nt|_d|}|j|||�nXWdt|d�XndS(NtsetUpModuleRCssetUpModule (%s)RD(RMRR1R>R7R6tsystmodulestKeyErrorRRR
RERR@R8RF(	RRR+RLt
currentModuletmoduleRNRIRK((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR;�s.
	

	
cCslt|�}t|dd�}|dk	rRt|tj�rR||t|��n|j|tj	��dS(NtaddSkip(
t_ErrorHolderRRRRtSkipTesttstrtaddErrorROtexc_info(RR+t	exceptionRKterrorRT((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRF�s
cCs�|j|�}|dkrdS|jr,dSytj|}Wntk
rQdSXt|dd�}|dk	r�t|d�zWy|�WnEtk
r�}t	|t
�r��nd|}|j|||�nXWdt|d�XndS(NttearDownModuleRCstearDownModule (%s)RD(RMRR6RORPRQRR
RERR@RF(RR+RLRSR\RIRK((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR>�s*	


c	Cst|dd�}|j}||kr+dSt|dt�rAdSt|dt�rWdSt|dt�rmdSt|dd�}|dk	rt|d�zfy|�WnTtk
r�}t|t�r��ntj	|�}d|}|j
|||�nXWdt|d�XndS(	NR=R5R6RAt
tearDownClassRCstearDownClass (%s)RD(RRRR7R
RERR@RRRF(	RRR+RGRHR]RIRJRK((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR:�s.	

(R0R1R2R7R,R/R<RMR;RFR>R:(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRNs		 				RUcBs\eZdZd	Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd�ZRS(
s�
    Placeholder for a TestCase inside a result. As far as a TestResult
    is concerned, this looks exactly like a unit test. Used to insert
    arbitrary errors into a test suite run.
    cCs
||_dS(N(tdescription(RR^((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRscCs|jS(N(R^(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pytidscCsdS(N(R(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pytshortDescriptionscCsd|jfS(Ns<ErrorHolder description=%r>(R^(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRscCs
|j�S(N(R_(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt__str__scCsdS(N((RR+((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR,scCs
|j|�S(N(R,(RR+((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRscCsdS(Ni((R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRsN(
R0R1R2RtfailureExceptionRR_R`RRaR,RR(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyRU�s							cCs'yt|�Wntk
r"tSXtS(s?A crude way to tell apart testcases and suites with duck-typing(RR!R8R7(R((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR9"s

R@cBs eZdZdZeZeZRS(sCUsed by the TestSuite to hold previous class when running in debug.N(R0R1R2RR=R7R6R*(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyR@+s(R2RORRRR8t
__unittestR
tobjectRRRUR9R@(((s3/opt/alt/python27/lib64/python2.7/unittest/suite.pyt<module>s	>�&		


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 Jan 2025 9.37 AM
root / linksafe
0755
test
--
24 Jan 2025 9.35 AM
root / linksafe
0755
__init__.py
2.717 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyc
2.979 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__init__.pyo
2.979 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.py
0.232 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.pyc
0.489 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
__main__.pyo
0.489 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.py
42.953 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.pyc
41.882 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
case.pyo
41.882 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.py
13.181 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.pyc
11.389 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
loader.pyo
11.252 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.py
8.87 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.pyc
7.923 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
main.pyo
7.923 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.py
6.16 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.pyc
8.044 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
result.pyo
8.044 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.py
6.38 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.pyc
7.719 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
runner.pyo
7.719 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.py
2.354 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.pyc
2.843 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
signals.pyo
2.843 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.py
9.579 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.pyc
10.735 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
suite.pyo
10.735 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.py
4.498 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyc
4.514 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
util.pyo
4.514 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF