diff --git a/IPython/nbconvert/exporters/tests/test_html.py b/IPython/nbconvert/exporters/tests/test_html.py index a02d713..e182928 100644 --- a/IPython/nbconvert/exporters/tests/test_html.py +++ b/IPython/nbconvert/exporters/tests/test_html.py @@ -38,3 +38,27 @@ class TestBasicHTMLExporter(ExportersTestsBase): """ (output, resources) = BasicHTMLExporter().from_filename(self._get_notebook()) assert len(output) > 0 + + + def test_export_basic(self): + """ + Can a BasicHTMLExporter export using the 'basic' flavor? + """ + (output, resources) = BasicHTMLExporter(flavor='basic').from_filename(self._get_notebook()) + assert len(output) > 0 + + + def test_export_full(self): + """ + Can a BasicHTMLExporter export using the 'full' flavor? + """ + (output, resources) = BasicHTMLExporter(flavor='full').from_filename(self._get_notebook()) + assert len(output) > 0 + + + def test_export_reveal(self): + """ + Can a BasicHTMLExporter export using the 'reveal' flavor? + """ + (output, resources) = BasicHTMLExporter(flavor='reveal').from_filename(self._get_notebook()) + assert len(output) > 0 \ No newline at end of file diff --git a/IPython/nbconvert/exporters/tests/test_latex.py b/IPython/nbconvert/exporters/tests/test_latex.py index e9f4061..be50131 100644 --- a/IPython/nbconvert/exporters/tests/test_latex.py +++ b/IPython/nbconvert/exporters/tests/test_latex.py @@ -39,3 +39,27 @@ class TestLatexExporter(ExportersTestsBase): """ (output, resources) = LatexExporter().from_filename(self._get_notebook()) assert len(output) > 0 + + + def test_export_full(self): + """ + Can a LatexExporter export using 'full' flavor? + """ + (output, resources) = LatexExporter(flavor='full').from_filename(self._get_notebook()) + assert len(output) > 0 + + + def test_export_basic(self): + """ + Can a LatexExporter export using 'basic' flavor? + """ + (output, resources) = LatexExporter(flavor='basic').from_filename(self._get_notebook()) + assert len(output) > 0 + + + def test_export_reveal(self): + """ + Can a LatexExporter export using 'reveal' flavor? + """ + (output, resources) = LatexExporter(flavor='reveal').from_filename(self._get_notebook()) + assert len(output) > 0 \ No newline at end of file diff --git a/IPython/nbconvert/templates/html_slides.tpl b/IPython/nbconvert/templates/html_reveal.tpl similarity index 100% rename from IPython/nbconvert/templates/html_slides.tpl rename to IPython/nbconvert/templates/html_reveal.tpl