ó
‹'=[c           @   sb   d  d l  m Z d d l m Z m Z m Z m Z d e f d „  ƒ  YZ d e f d „  ƒ  YZ d S(	   iÿÿÿÿ(   t   TestCasei   (   t   NotebookNodet   new_code_cellt   new_text_cellt   new_notebookt   TestCellc           B   s,   e  Z d  „  Z d „  Z d „  Z d „  Z RS(   c         C   sL   t  ƒ  } |  j | j d ƒ |  j d | k t ƒ |  j d | k t ƒ d  S(   Nt   codet   prompt_number(   R   t   assertEqualt	   cell_typet   True(   t   selft   cc(    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_empty_code_cell
   s    	c         C   s?   t  d d d d ƒ } |  j | j d ƒ |  j | j d ƒ d  S(   NR   s   a=10R   i    u   a=10(   R   R   R   R   (   R   R   (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_code_cell   s    c         C   s6   t  ƒ  } |  j | j d ƒ |  j d | k t ƒ d  S(   Nt   text(   R   R   R	   R
   (   R   t   tc(    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_empty_text_cell   s    	c         C   s#   t  d ƒ } |  j | j d ƒ d  S(   Nt   hiu   hi(   R   R   R   (   R   R   (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_text_cell   s    (   t   __name__t
   __module__R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyR      s   			t   TestNotebookc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s    t  ƒ  } |  j | j g  ƒ d  S(   N(   R   R   t   cells(   R   t   nb(    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_empty_notebook!   s    	c         C   s8   t  ƒ  t ƒ  g } t d | ƒ } |  j | j | ƒ d  S(   NR   (   R   R   R   R   R   (   R   R   R   (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   test_notebooke%   s    (   R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyR      s   	N(	   t   unittestR    t   nbbaseR   R   R   R   R   R   (    (    (    s<   lib/python2.7/site-packages/nbformat/v1/tests/test_nbbase.pyt   <module>   s   "