##// END OF EJS Templates
s/book/report in exporter and exporter tests
Jonathan Frederic -
Show More
@@ -45,7 +45,7 b' class LatexExporter(TemplateExporter):'
45 help="Extension of the file that should be written to disk")
45 help="Extension of the file that should be written to disk")
46
46
47 default_template = Unicode('article', config=True, help="""Template of the
47 default_template = Unicode('article', config=True, help="""Template of the
48 data format to use. I.E. 'article' or 'book'""")
48 data format to use. I.E. 'article' or 'report'""")
49
49
50 #Latex constants
50 #Latex constants
51 default_template_path = Unicode(
51 default_template_path = Unicode(
@@ -44,9 +44,9 b' class TestLatexExporter(ExportersTestsBase):'
44 @onlyif_cmds_exist('pandoc')
44 @onlyif_cmds_exist('pandoc')
45 def test_export_book(self):
45 def test_export_book(self):
46 """
46 """
47 Can a LatexExporter export using 'book' template?
47 Can a LatexExporter export using 'report' template?
48 """
48 """
49 (output, resources) = LatexExporter(template_file='book').from_filename(self._get_notebook())
49 (output, resources) = LatexExporter(template_file='report').from_filename(self._get_notebook())
50 assert len(output) > 0
50 assert len(output) > 0
51
51
52
52
General Comments 0
You need to be logged in to leave comments. Login now