ó
Z´¢Tc           @   sK   d  d l  Z  d e  j f d „  ƒ  YZ d e  j f d „  ƒ  YZ d „  Z d S(   iÿÿÿÿNt   Test_packagec           B   s   e  Z d  „  Z d „  Z RS(   c         C   s@   d d l  m } d d l m } d d  l j } | | | ƒ d  S(   Niÿÿÿÿ(   t   verifyObject(   t   IComponentArchitecture(   t   zope.interface.verifyR   t   zope.component.interfacesR   t   zope.componentt	   component(   t   selfR   R   t   zc(    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt.   test_module_conforms_to_IComponentArchitecture   s    c         C   s@   d d l  m } d d l m } d d  l j } | | | ƒ d  S(   Niÿÿÿÿ(   R   (   t!   IComponentRegistrationConvenience(   R   R   R   R
   R   R   (   R   R   R
   R   (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt9   test_module_conforms_to_IComponentRegistrationConvenience   s    (   t   __name__t
   __module__R	   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR       s   	t   Test_Interface_callc           B   sB   e  Z d  d l m Z m Z d „  Z d „  Z d „  Z d „  Z RS(   iÿÿÿÿ(   t   setUpt   tearDownc         C   s@   d d l  m } d | f d „  ƒ  Y} |  j t | t ƒ  ƒ d  S(   Niÿÿÿÿ(   t	   Interfacet   IFooc           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   &   s   (   t   zope.interfaceR   t   assertRaisest	   TypeErrort   object(   R   R   R   (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt	   test_miss$   s    c         C   sR   d d l  m } d | f d „  ƒ  Y} t ƒ  } |  j | t ƒ  | ƒ | k ƒ d  S(   Niÿÿÿÿ(   R   R   c           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   ,   s   (   R   R   R   t
   assertTrue(   R   R   R   t   marker(    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt   test_miss_w_default*   s    	c   
      C   s  d d l  m } d d l  m } d d l m } d | f d „  ƒ  Y} d | f d „  ƒ  Y} | | ƒ d	 t f d
 „  ƒ  Yƒ } | | ƒ d t f d „  ƒ  Yƒ } | ƒ  j | | f | d ƒ | ƒ  } | | ƒ }	 |  j |	 j | k ƒ |  j |	 j	 | k ƒ d  S(   Niÿÿÿÿ(   R   (   t   implementer(   t   getGlobalSiteManagerR   c           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   5   s   t   IBarc           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   7   s   t   Barc           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   9   s   t   Bazc           B   s   e  Z d  „  Z RS(   c         S   s   | |  _  d  S(   N(   t   context(   R   R    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt   __init__>   s    (   R   R   R!   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   <   s   t    (
   R   R   R   R   R   R   t   registerAdapterR   t	   __class__R    (
   R   R   R   R   R   R   R   R   t   bart   adapted(    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt   test_hit1   s    	c         C   sÆ   d d l  m } d d l  m } d d l m } d | f d „  ƒ  Y} | | ƒ d t f d „  ƒ  Yƒ } | ƒ  j | d
 | d	 ƒ t ƒ  } | | ƒ } |  j | j	 | k ƒ |  j | j
 | k ƒ d  S(   Niÿÿÿÿ(   R   (   R   (   R   R   c           B   s   e  Z RS(    (   R   R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   J   s   R   c           B   s   e  Z d  „  Z RS(   c         S   s   | |  _  d  S(   N(   R    (   R   R    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR!   N   s    (   R   R   R!   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR   L   s   R"   (   N(   R   R   R   R   R   R   R#   t   NoneR   R$   R    (   R   R   R   R   R   R   t   ctxR&   (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt   test_hit_registered_for_NoneF   s    	(	   R   R   t   zope.component.testingR   R   R   R   R'   R*   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyR       s
   			c           C   s%   t  j t  j t ƒ t  j t ƒ f ƒ S(   N(   t   unittestt	   TestSuitet	   makeSuiteR    R   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt
   test_suiteX   s    (   R,   t   TestCaseR    R   R/   (    (    (    sF   /usr/lib/python2.7/dist-packages/zope/component/tests/test___init__.pyt   <module>   s   8