Show More
@@ -38,3 +38,27 b' class TestBasicHTMLExporter(ExportersTestsBase):' | |||
|
38 | 38 | """ |
|
39 | 39 | (output, resources) = BasicHTMLExporter().from_filename(self._get_notebook()) |
|
40 | 40 | assert len(output) > 0 |
|
41 | ||
|
42 | ||
|
43 | def test_export_basic(self): | |
|
44 | """ | |
|
45 | Can a BasicHTMLExporter export using the 'basic' flavor? | |
|
46 | """ | |
|
47 | (output, resources) = BasicHTMLExporter(flavor='basic').from_filename(self._get_notebook()) | |
|
48 | assert len(output) > 0 | |
|
49 | ||
|
50 | ||
|
51 | def test_export_full(self): | |
|
52 | """ | |
|
53 | Can a BasicHTMLExporter export using the 'full' flavor? | |
|
54 | """ | |
|
55 | (output, resources) = BasicHTMLExporter(flavor='full').from_filename(self._get_notebook()) | |
|
56 | assert len(output) > 0 | |
|
57 | ||
|
58 | ||
|
59 | def test_export_reveal(self): | |
|
60 | """ | |
|
61 | Can a BasicHTMLExporter export using the 'reveal' flavor? | |
|
62 | """ | |
|
63 | (output, resources) = BasicHTMLExporter(flavor='reveal').from_filename(self._get_notebook()) | |
|
64 | assert len(output) > 0 No newline at end of file |
@@ -39,3 +39,27 b' class TestLatexExporter(ExportersTestsBase):' | |||
|
39 | 39 | """ |
|
40 | 40 | (output, resources) = LatexExporter().from_filename(self._get_notebook()) |
|
41 | 41 | assert len(output) > 0 |
|
42 | ||
|
43 | ||
|
44 | def test_export_full(self): | |
|
45 | """ | |
|
46 | Can a LatexExporter export using 'full' flavor? | |
|
47 | """ | |
|
48 | (output, resources) = LatexExporter(flavor='full').from_filename(self._get_notebook()) | |
|
49 | assert len(output) > 0 | |
|
50 | ||
|
51 | ||
|
52 | def test_export_basic(self): | |
|
53 | """ | |
|
54 | Can a LatexExporter export using 'basic' flavor? | |
|
55 | """ | |
|
56 | (output, resources) = LatexExporter(flavor='basic').from_filename(self._get_notebook()) | |
|
57 | assert len(output) > 0 | |
|
58 | ||
|
59 | ||
|
60 | def test_export_reveal(self): | |
|
61 | """ | |
|
62 | Can a LatexExporter export using 'reveal' flavor? | |
|
63 | """ | |
|
64 | (output, resources) = LatexExporter(flavor='reveal').from_filename(self._get_notebook()) | |
|
65 | assert len(output) > 0 No newline at end of file |
|
1 | NO CONTENT: file renamed from IPython/nbconvert/templates/html_slides.tpl to IPython/nbconvert/templates/html_reveal.tpl |
General Comments 0
You need to be logged in to leave comments.
Login now