a
    Æ7Ubì  ã                   @   s0   d Z ddlmZ ddlmZ G dd„ deƒZdS )úTests for PythonExporteré   )ÚExportersTestsBaseé   )ÚPythonExporterc                   @   s*   e Zd ZdZeZdgZdd„ Zdd„ ZdS )ÚTestPythonExporterr   Úpythonc                 C   s   |   ¡  dS )z$Can a PythonExporter be constructed?N)Úexporter_class)Úself© r
   úDlib/python3.9/site-packages/nbconvert/exporters/tests/test_python.pyÚtest_constructor   s    z#TestPythonExporter.test_constructorc                 C   s2   |   ¡  |  ¡ ¡\}}|  d|¡ |  d|¡ dS )z&Can a PythonExporter export something?zcoding: utf-8z#!/usr/bin/env pythonN)r   Zfrom_filenameZ_get_notebookZassertIn)r	   ÚoutputZ	resourcesr
   r
   r   Útest_export   s    zTestPythonExporter.test_exportN)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Zshould_include_rawr   r   r
   r
   r
   r   r   
   s
   r   N)r   Úbaser   r   r   r   r
   r
   r
   r   Ú<module>   s   