From e69c588c1164131bafd31727716394449ff8a5cb 2013-09-23 17:57:20 From: Jonathan Frederic Date: 2013-09-23 17:57:20 Subject: [PATCH] s/book/report in exporter and exporter tests --- diff --git a/IPython/nbconvert/exporters/latex.py b/IPython/nbconvert/exporters/latex.py index 7b9325a..6d40c5f 100644 --- a/IPython/nbconvert/exporters/latex.py +++ b/IPython/nbconvert/exporters/latex.py @@ -45,7 +45,7 @@ class LatexExporter(TemplateExporter): help="Extension of the file that should be written to disk") default_template = Unicode('article', config=True, help="""Template of the - data format to use. I.E. 'article' or 'book'""") + data format to use. I.E. 'article' or 'report'""") #Latex constants default_template_path = Unicode( diff --git a/IPython/nbconvert/exporters/tests/test_latex.py b/IPython/nbconvert/exporters/tests/test_latex.py index 376bb50..f1dc349 100644 --- a/IPython/nbconvert/exporters/tests/test_latex.py +++ b/IPython/nbconvert/exporters/tests/test_latex.py @@ -44,9 +44,9 @@ class TestLatexExporter(ExportersTestsBase): @onlyif_cmds_exist('pandoc') def test_export_book(self): """ - Can a LatexExporter export using 'book' template? + Can a LatexExporter export using 'report' template? """ - (output, resources) = LatexExporter(template_file='book').from_filename(self._get_notebook()) + (output, resources) = LatexExporter(template_file='report').from_filename(self._get_notebook()) assert len(output) > 0