ó
2(Vc           @   sľ   d  d l  Z  d e f d     YZ d e f d     YZ d e  j e f d     YZ d e  j e f d	     YZ d
 e  j e f d     YZ d e  j e f d     YZ d   Z	 d S(   i˙˙˙˙Nt   _ConformsToIObjectEventc           B   s&   e  Z d d   Z d   Z d   Z RS(   c         C   s(   | d  k r t   } n  |  j   |  S(   N(   t   Nonet   objectt   _getTargetClass(   t   selft   target(    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt   _makeOne   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   t   IObjectEvent(   t   verifyClass(   t   zope.interface.interfacesR   t   zope.interface.verifyR   R   (   R   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt#   test_class_conforms_to_IObjectEvent   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   R   (   t   verifyObject(   R	   R   R
   R   R   (   R   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt&   test_instance_conforms_to_IObjectEvent   s    N(   t   __name__t
   __module__R   R   R   R   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR       s   	t   _ConformsToIRegistrationEventc           B   s   e  Z d    Z d   Z RS(   c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   t   IRegistrationEvent(   R   (   R	   R   R
   R   R   (   R   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt)   test_class_conforms_to_IRegistrationEvent   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   R   (   R   (   R	   R   R
   R   R   (   R   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt,   test_instance_conforms_to_IRegistrationEvent   s    (   R   R   R   R   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR      s   	t   ObjectEventTestsc           B   s   e  Z d    Z d   Z RS(   c         C   s   d d l  m } | S(   Ni˙˙˙˙(   t   ObjectEvent(   R	   R   (   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   %   s    c         C   s2   t    } |  j |  } |  j | j  | k  d  S(   N(   R   R   t
   assertTrue(   R   R   t   event(    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt	   test_ctor)   s    	(   R   R   R   R   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   #   s   	t   RegistrationEventTestsc           B   s   e  Z d    Z d   Z RS(   c         C   s   d d l  m } | S(   Ni˙˙˙˙(   t   RegistrationEvent(   R	   R   (   R   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   2   s    c         C   sJ   t    } |  j |  } t |  } |  j | j   d t |  g  d  S(   Ns   RegistrationEvent event:(   R   R   t   reprt   assertEqualt
   splitlines(   R   R   R   t   r(    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt   test___repr__6   s
    	(   R   R   R   R   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   /   s   	t   RegisteredTestsc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s   d d l  m } | S(   Ni˙˙˙˙(   t
   Registered(   R	   R!   (   R   R!   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   A   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   t   IRegistered(   R   (   R	   R"   R
   R   R   (   R   R"   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt"   test_class_conforms_to_IRegisteredE   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   R"   (   R   (   R	   R"   R
   R   R   (   R   R"   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt%   test_instance_conforms_to_IRegisteredJ   s    (   R   R   R   R#   R$   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR    >   s   		t   UnregisteredTestsc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s   d d l  m } | S(   Ni˙˙˙˙(   t   Unregistered(   R	   R&   (   R   R&   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR   S   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   t   IUnregistered(   R   (   R	   R'   R
   R   R   (   R   R'   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt$   test_class_conforms_to_IUnregisteredW   s    c         C   s7   d d l  m } d d l m } | | |  j    d  S(   Ni˙˙˙˙(   R'   (   R   (   R	   R'   R
   R   R   (   R   R'   R   (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt'   test_instance_conforms_to_IUnregistered\   s    (   R   R   R   R(   R)   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyR%   P   s   		c           C   s=   t  j t  j t  t  j t  t  j t  t  j t  f  S(   N(   t   unittestt	   TestSuitet	   makeSuiteR   R   R    R%   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt
   test_suiteb   s
    (
   R*   R   R    R   t   TestCaseR   R   R    R%   R-   (    (    (    sH   /usr/lib/python2.7/dist-packages/zope/interface/tests/test_interfaces.pyt   <module>   s   			