ó
§‰]c           @   s@   d  Z  d d l m Z d d l m Z d e f d „  ƒ  YZ d S(   s6   
Module with tests for the csshtmlheader preprocessor
i   (   t   PreprocessorTestsBasei   (   t   CSSHTMLHeaderPreprocessort   TestCSSHTMLHeaderc           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s,   Contains test functions for csshtmlheader.pyc         C   s   t  ƒ  } t | _ | S(   s"   Make an instance of a preprocessor(   R   t   Truet   enabled(   t   selft   preprocessor(    (    sO   lib/python2.7/site-packages/nbconvert/preprocessors/tests/test_csshtmlheader.pyt   build_preprocessor   s    		c         C   s   |  j  ƒ  d S(   s/   Can a CSSHTMLHeaderPreprocessor be constructed?N(   R   (   R   (    (    sO   lib/python2.7/site-packages/nbconvert/preprocessors/tests/test_csshtmlheader.pyt   test_constructor$   s    c         C   sS   |  j  ƒ  } |  j ƒ  } |  j ƒ  } | | | ƒ \ } } d | d k sO t ‚ d S(   s0   Test the output of the CSSHTMLHeaderPreprocessort   csst   inliningN(   t   build_notebookt   build_resourcesR   t   AssertionError(   R   t   nbt   resR   (    (    sO   lib/python2.7/site-packages/nbconvert/preprocessors/tests/test_csshtmlheader.pyt   test_output)   s
    (   t   __name__t
   __module__t   __doc__R   R   R   (    (    (    sO   lib/python2.7/site-packages/nbconvert/preprocessors/tests/test_csshtmlheader.pyR      s   		N(   R   t   baseR    t   csshtmlheaderR   R   (    (    (    sO   lib/python2.7/site-packages/nbconvert/preprocessors/tests/test_csshtmlheader.pyt   <module>   s   