ó
Żą]c           @   sP   d  Z  d d l m Z m Z d d l Z d   Z d   Z d   Z d   Z d S(   s#   Test the jupyter_client public API
i’’’’(   t   launchert   connectNc          C   s7   x0 d D]( }  |  d } | t  t  k s t  q Wd  S(   Nt    t   Multit   KernelManager(   R   R   (   t   dirt   jupyter_clientt   AssertionError(   t   baset   KM(    (    sC   lib/python2.7/site-packages/jupyter_client/tests/test_public_api.pyt   test_kms   s    
c          C   s7   x0 d D]( }  |  d } | t  t  k s t  q Wd  S(   NR   t   Blockingt   KernelClient(   R   R   (   R   R   R   (   R   R	   (    (    sC   lib/python2.7/site-packages/jupyter_client/tests/test_public_api.pyt   test_kcs   s    
c          C   s0   x) t  j D] }  |  t t  k s
 t  q
 Wd  S(   N(   R    t   __all__R   R   R   (   t   name(    (    sC   lib/python2.7/site-packages/jupyter_client/tests/test_public_api.pyt   test_launcher   s    c          C   s0   x) t  j D] }  |  t t  k s
 t  q
 Wd  S(   N(   R   R   R   R   R   (   R   (    (    sC   lib/python2.7/site-packages/jupyter_client/tests/test_public_api.pyt   test_connect   s    (   t   __doc__R   R    R   R
   R   R   R   (    (    (    sC   lib/python2.7/site-packages/jupyter_client/tests/test_public_api.pyt   <module>   s   			