
    (ph+                        S SK r  " S S5      r " S S\5      r " S S\ R                  \5      r " S S	\ R                  \5      r " S
 S\ R                  \5      r " S S\ R                  \5      r " S S\ R                  5      rg)    Nc                   *    \ rS rSrSS jrS rS rSrg)_ConformsToIObjectEvent   Nc                 H    Uc
  [        5       nU R                  5       " U5      $ N)object_getTargetClass)selftargets     W/var/www/html/venv/lib/python3.13/site-packages/zope/interface/tests/test_interfaces.py_makeOne _ConformsToIObjectEvent._makeOne   s"    >XF##%f--    c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   IObjectEventverifyClass)zope.interface.interfacesr   zope.interface.verifyr   r	   )r
   r   r   s      r   #test_class_conforms_to_IObjectEvent;_ConformsToIObjectEvent.test_class_conforms_to_IObjectEvent   s    :5L"6"6"89r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   r   verifyObject)r   r   r   r   r   )r
   r   r   s      r   &test_instance_conforms_to_IObjectEvent>_ConformsToIObjectEvent.test_instance_conforms_to_IObjectEvent   s    :6\==?3r    r   )__name__
__module____qualname____firstlineno__r   r   r   __static_attributes__r   r   r   r   r      s    .
:
4r   r   c                        \ rS rSrS rS rSrg)_ConformsToIRegistrationEvent   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   IRegistrationEventr   )r   r)   r   r   r	   )r
   r)   r   s      r   )test_class_conforms_to_IRegistrationEventG_ConformsToIRegistrationEvent.test_class_conforms_to_IRegistrationEvent   s    @5&(<(<(>?r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   r(   r   )r   r)   r   r   r   )r
   r)   r   s      r   ,test_instance_conforms_to_IRegistrationEventJ_ConformsToIRegistrationEvent.test_instance_conforms_to_IRegistrationEvent   s    @6'9r   r   N)r   r    r!   r"   r*   r-   r#   r   r   r   r%   r%      s    @
:r   r%   c                        \ rS rSrS rS rSrg)ObjectEventTests#   c                     SSK Jn  U$ )Nr   )ObjectEvent)r   r3   )r
   r3   s     r   r	    ObjectEventTests._getTargetClass%   s    9r   c                 r    [        5       nU R                  U5      nU R                  UR                   U5        g r   )r   r   assertIs)r
   r   events      r   	test_ctorObjectEventTests.test_ctor)   s)    f%ellF+r   r   N)r   r    r!   r"   r	   r8   r#   r   r   r   r0   r0   #   s    ,r   r0   c                        \ rS rSrS rS rSrg)RegistrationEventTests/   c                     SSK Jn  U$ )Nr   )RegistrationEvent)r   r>   )r
   r>   s     r   r	   &RegistrationEventTests._getTargetClass2   s    ?  r   c                     [        5       nU R                  U5      n[        U5      nU R                  UR	                  5       S[        U5      /5        g )NzRegistrationEvent event:)r   r   reprassertEqual
splitlines)r
   r   r7   rs       r   test___repr__$RegistrationEventTests.test___repr__6   sC    f%K4d6lC	Er   r   N)r   r    r!   r"   r	   rE   r#   r   r   r   r;   r;   /   s    !Er   r;   c                   &    \ rS rSrS rS rS rSrg)RegisteredTests>   c                     SSK Jn  U$ )Nr   )
Registered)r   rK   )r
   rK   s     r   r	   RegisteredTests._getTargetClassA       8r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   IRegisteredr   )r   rP   r   r   r	   )r
   rP   r   s      r   "test_class_conforms_to_IRegistered2RegisteredTests.test_class_conforms_to_IRegisteredE   s    95K!5!5!78r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   rO   r   )r   rP   r   r   r   )r
   rP   r   s      r   %test_instance_conforms_to_IRegistered5RegisteredTests.test_instance_conforms_to_IRegisteredJ   s    96[--/2r   r   N)r   r    r!   r"   r	   rQ   rT   r#   r   r   r   rH   rH   >   s    9
3r   rH   c                   &    \ rS rSrS rS rS rSrg)UnregisteredTestsP   c                     SSK Jn  U$ )Nr   )Unregistered)r   rZ   )r
   rZ   s     r   r	   !UnregisteredTests._getTargetClassS   s    :r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   IUnregisteredr   )r   r^   r   r   r	   )r
   r^   r   s      r   $test_class_conforms_to_IUnregistered6UnregisteredTests.test_class_conforms_to_IUnregisteredW   s    ;5M#7#7#9:r   c                 H    SSK Jn  SSKJn  U" XR	                  5       5        g )Nr   r]   r   )r   r^   r   r   r   )r
   r^   r   s      r   'test_instance_conforms_to_IUnregistered9UnregisteredTests.test_instance_conforms_to_IUnregistered\   s    ;6]MMO4r   r   N)r   r    r!   r"   r	   r_   rb   r#   r   r   r   rW   rW   P   s    ;
5r   rW   c                   >    \ rS rSrS rS rS rS rS rS r	S r
S	rg
)InterfaceClassTestsb   c                     SSK Jn  U$ )Nr   )InterfaceClass)zope.interface.interfacerh   )r
   rh   s     r   r	   #InterfaceClassTests._getTargetClassd   s    ;r   c                     SSK Jn  U$ )Nr   )
IInterface)r   rl   )r
   rl   s     r   _getTargetInterface'InterfaceClassTests._getTargetInterfaceh   rM   r   c                     SSK Jn  U$ )Nr   )	Interface)ri   rp   )r
   rp   s     r   r   InterfaceClassTests._makeOnel   s    6r   c                 Z    SSK Jn  U" U R                  5       U R                  5       5        g )Nr   r   )r   r   rm   r	   )r
   r   s     r   test_class_conforms'InterfaceClassTests.test_class_conformsp   s!    5D,,.0D0D0FGr   c                 Z    SSK Jn  U" U R                  5       U R                  5       5        g )Nr   r   )r   r   rm   r   )r
   r   s     r   test_instance_conforms*InterfaceClassTests.test_instance_conformst   s    6T--/Ar   c                 l    SSK Jn  U R                  UR                  U R	                  5       5      5        g )Nr   ro)zope.interfacerz   
assertTrueis_consistentrm   )r
   rz   s     r   test_instance_consistent__iro__3InterfaceClassTests.test_instance_consistent__iro__x   s%    %(()A)A)CDEr   c                     SSK Jn  SSK Jn  U R                  UR	                  U" U R                  5       5      5      5        g )Nr   )implementedByry   )r{   r   rz   r|   r}   r	   )r
   r   rz   s      r   test_class_consistent__iro__0InterfaceClassTests.test_class_consistent__iro__|   s0    0%]4+?+?+ABC	
r   r   N)r   r    r!   r"   r	   rm   r   rs   rv   r~   r   r#   r   r   r   re   re   b   s(    HBF
r   re   )	unittestr   r%   TestCaser0   r;   rH   rW   re   r   r   r   <module>r      s    4 4$
:$; 
:	,x((*A 	,EX..:E3h''33$5))55$ 
(++  
r   