Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/zope/component/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/zope/component/tests/test_registry.pyc
�
6j/Qc@s�dZddlZdejfd��YZdejfd��YZdejfd��YZd	ejfd
��YZdefd��YZd
�Z	dS(sTests for z.c.registry
i����Nt%Test_dispatchUtilityRegistrationEventcBs0eZddlmZmZd�Zd�ZRS(i����(tsetUpttearDowncOsddlm}|||�S(Ni����(t dispatchUtilityRegistrationEvent(tzope.component.registryR(tselftargstkwR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt_callFUTscs�ddlm}dtfd��Y}t�}g��fd�}t|d|��|j|�|�WdQX|j�|j|fg�dS(Ni����(tregistryt
_RegistrationcBseZe�ZRS((t__name__t
__module__tobjectt	component(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR
scs�j|�dS(N(tappend(R(t_handled(sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt_handle!sthandle(tzope.componentR	R
t_MonkeyRtassertEqualR(RR	R
t_EVENTR((RsF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyttest_its	(RRtzope.component.testingRRRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRs	t%Test_dispatchAdapterRegistrationEventcBs0eZddlmZmZd�Zd�ZRS(i����(RRcOsddlm}|||�S(Ni����(t dispatchAdapterRegistrationEvent(RR(RRRR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR,scs�ddlm}dtfd��Y}|�}t�}g��fd�}t|d|��|j||�WdQX|j�|j|fg�dS(Ni����(R	R
cBseZd�ZRS(c_sdS(N((RRR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pytfactory3s(RRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR
2scs�j|�dS(N(R(R(R(sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR8sR(RR	R
RRRR(RR	R
t
_registrationRR((RsF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR0s		(RRRRRRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR(s	t1Test_dispatchSubscriptionAdapterRegistrationEventcBs0eZddlmZmZd�Zd�ZRS(i����(RRcOsddlm}|||�S(Ni����(t,dispatchSubscriptionAdapterRegistrationEvent(RR(RRRR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRCscs�ddlm}dtfd��Y}|�}t�}g��fd�}t|d|��|j||�WdQX|j�|j|fg�dS(Ni����(R	R
cBseZd�ZRS(c_sdS(N((RRR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRKs(RRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR
Jscs�j|�dS(N(R(R(R(sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRPsR(RR	R
RRRR(RR	R
RRR((RsF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRHs		(RRRRRRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR?s	t%Test_dispatchHandlerRegistrationEventcBs0eZddlmZmZd�Zd�ZRS(i����(RRcOsddlm}|||�S(Ni����(t dispatchHandlerRegistrationEvent(RR (RRRR ((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR[scs�ddlm}dtfd��Y}|�}t�}g��fd�}t|d|��|j||�WdQX|j�|j|fg�dS(Ni����(R	R
cBseZd�ZRS(c_sdS(N((RRR((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pythandlerbs(RRR!(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR
ascs�j|�dS(N(R(R(R(sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRgsR(RR	R
RRRR!(RR	R
RRR((RsF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR_s		(RRRRRRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRWs	RcBs#eZd�Zd�Zd�ZRS(cKsk||_tg|D]}|t||�f^q�|_x*|j�D]\}}t|||�qGWdS(N(tmoduletdicttgetattrt
to_restoretitemstsetattr(RR"Rtkeytvalue((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt__init__ps	1cCs|S(N((R((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt	__enter__vscCs7x0|jj�D]\}}t|j||�qWdS(N(R%R&R'R"(Rtexc_typetexc_valtexc_tbR(R)((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt__exit__ys(RRR*R+R/(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyRns		cCs=tjtjt�tjt�tjt�tjt�f�S(N(tunittestt	TestSuitet	makeSuiteRRRR(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt
test_suite}s
(
t__doc__R0tTestCaseRRRRR
RR3(((sF/usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt<module>s

Spamworldpro Mini