golden hour
/usr/lib/python2.7/site-packages/zope/component/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
16 B
Del
OK
__init__.pyc
152 B
Del
OK
__init__.pyo
152 B
Del
OK
examples.py
3.16 KB
Del
OK
examples.pyc
7.99 KB
Del
OK
examples.pyo
7.99 KB
Del
OK
test___init__.py
3.12 KB
Del
OK
test___init__.pyc
5.24 KB
Del
OK
test___init__.pyo
5.24 KB
Del
OK
test__api.py
41.84 KB
Del
OK
test__api.pyc
74.24 KB
Del
OK
test__api.pyo
74.24 KB
Del
OK
test__declaration.py
7.01 KB
Del
OK
test__declaration.pyc
12.41 KB
Del
OK
test__declaration.pyo
12.41 KB
Del
OK
test_event.py
2.3 KB
Del
OK
test_event.pyc
2.85 KB
Del
OK
test_event.pyo
2.85 KB
Del
OK
test_factory.py
3.7 KB
Del
OK
test_factory.pyc
6.09 KB
Del
OK
test_factory.pyo
6.09 KB
Del
OK
test_globalregistry.py
8.47 KB
Del
OK
test_globalregistry.pyc
14.39 KB
Del
OK
test_globalregistry.pyo
14.29 KB
Del
OK
test_hookable.py
4 KB
Del
OK
test_hookable.pyc
6.62 KB
Del
OK
test_hookable.pyo
6.62 KB
Del
OK
test_hooks.py
11.42 KB
Del
OK
test_hooks.pyc
17.43 KB
Del
OK
test_hooks.pyo
17.43 KB
Del
OK
test_interface.py
14.15 KB
Del
OK
test_interface.pyc
23.29 KB
Del
OK
test_interface.pyo
23.29 KB
Del
OK
test_persistentregistry.py
6.27 KB
Del
OK
test_persistentregistry.pyc
8.41 KB
Del
OK
test_persistentregistry.pyo
8.41 KB
Del
OK
test_registry.py
4.55 KB
Del
OK
test_registry.pyc
7.34 KB
Del
OK
test_registry.pyo
7.34 KB
Del
OK
test_security.py
9.15 KB
Del
OK
test_security.pyc
16.49 KB
Del
OK
test_security.pyo
16.49 KB
Del
OK
test_standalone.py
1.99 KB
Del
OK
test_standalone.pyc
1.77 KB
Del
OK
test_standalone.pyo
1.77 KB
Del
OK
test_zcml.py
47.22 KB
Del
OK
test_zcml.pyc
56.41 KB
Del
OK
test_zcml.pyo
56.41 KB
Del
OK
Edit: test_registry.pyo
� 6j/Qc @ s� d Z d d l Z d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d e j f d � � YZ d e f d � � YZ d � Z d S( s Tests for z.c.registry i����Nt% Test_dispatchUtilityRegistrationEventc B s0 e Z d d l m Z m Z d � Z d � Z RS( i����( t setUpt tearDownc O s d d l m } | | | � S( Ni����( t dispatchUtilityRegistrationEvent( t zope.component.registryR ( t selft argst kwR ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt _callFUT s c s� d d l m } d t f d � � Y} t � } g � � f d � } t | d | �� | j | � | � Wd QX| j � | j | f g � d S( Ni����( t registryt _Registrationc B s e Z e � Z RS( ( t __name__t __module__t objectt component( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR s c s � j | � d S( N( t append( R ( t _handled( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt _handle! s t handle( t zope.componentR R t _MonkeyR t assertEqualR ( R R R t _EVENTR ( ( R sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt test_it s ( R R t zope.component.testingR R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR s t% Test_dispatchAdapterRegistrationEventc B s0 e Z d d l m Z m Z d � Z d � Z RS( i����( R R c O s d d l m } | | | � S( Ni����( t dispatchAdapterRegistrationEvent( R R ( R R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR , s c s� d d l m } d t f d � � Y} | � } t � } g � � f d � } t | d | �� | j | | � Wd QX| j � | j | f g � d S( Ni����( R R c B s e Z d � Z RS( c _ s d S( N( ( R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt factory3 s ( R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR 2 s c s � j | � d S( N( R ( R ( R ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR 8 s R ( R R R R R R R ( R R R t _registrationR R ( ( R sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR 0 s ( R R R R R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR ( s t1 Test_dispatchSubscriptionAdapterRegistrationEventc B s0 e Z d d l m Z m Z d � Z d � Z RS( i����( R R c O s d d l m } | | | � S( Ni����( t, dispatchSubscriptionAdapterRegistrationEvent( R R ( R R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR C s c s� d d l m } d t f d � � Y} | � } t � } g � � f d � } t | d | �� | j | | � Wd QX| j � | j | f g � d S( Ni����( R R c B s e Z d � Z RS( c _ s d S( N( ( R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR K s ( R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR J s c s � j | � d S( N( R ( R ( R ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR P s R ( R R R R R R R ( R R R R R R ( ( R sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR H s ( R R R R R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR ? s t% Test_dispatchHandlerRegistrationEventc B s0 e Z d d l m Z m Z d � Z d � Z RS( i����( R R c O s d d l m } | | | � S( Ni����( t dispatchHandlerRegistrationEvent( R R ( R R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR [ s c s� d d l m } d t f d � � Y} | � } t � } g � � f d � } t | d | �� | j | | � Wd QX| j � | j | f g � d S( Ni����( R R c B s e Z d � Z RS( c _ s d S( N( ( R R R ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyt handlerb s ( R R R! ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR a s c s � j | � d S( N( R ( R ( R ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR g s R ( R R R R R R R! ( R R R R R R ( ( R sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR _ s ( R R R R R R R ( ( ( sF /usr/lib/python2.7/site-packages/zope/component/tests/test_registry.pyR W s R c B s# e Z d � Z d � Z d � Z RS( c K sk | | _ t g | D] } | t | | � f ^ q � | _ x* | j � D] \ } } t | | | � qG Wd S( N( t modulet dictt getattrt to_restoret itemst setattr( R R"