File: //lib/python3/dist-packages/zope/component/__pycache__/eventtesting.cpython-310.pyc
o
,�W' � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z zddl
mZ W n
ey; d d
� ZY nw g Z
ddd
�Zdd� Zee� G dd� d�Zddd�ZdS )zPlaceless Test Setup
� )�provideHandler)�objectEventNotify)� dispatchUtilityRegistrationEvent)� dispatchAdapterRegistrationEvent)�,dispatchSubscriptionAdapterRegistrationEvent)� dispatchHandlerRegistrationEvent)�
addCleanUpc C s d S �N� )�xr
r
�=/usr/lib/python3/dist-packages/zope/component/eventtesting.pyr s r Nc C sB g }t D ]}| d ur| �|�sq|d ur||�sq|�|� q|S r )�events�
providedBy�append)�
event_type�filter�r�eventr
r
r � getEvents s r c C s t d d �= d S r )r
r
r
r
r �clearEvents) � r c @ s e Zd Zdd� ZdS )�PlacelessSetupc C s8 t t� t t� t t� t t� t t� t tjd� d S )Nr )r r r r r r r
r )�selfr
r
r �setUp/ s zPlacelessSetup.setUpN)�__name__�
__module__�__qualname__r r
r
r
r r - s r c C s t � �� d S r )r r )�testr
r
r r 7 r r )NNr )�__doc__�zope.componentr �zope.component.eventr �zope.component.registryr r r r �zope.testing.cleanupr �ImportErrorr
r r r r r
r
r
r �<module> s$
�