Show More
@@ -16,6 +16,7 Module with tests for slides.py | |||
|
16 | 16 | |
|
17 | 17 | from .base import ExportersTestsBase |
|
18 | 18 | from ..slides import SlidesExporter |
|
19 | from IPython.testing.decorators import onlyif_cmds_exist | |
|
19 | 20 | |
|
20 | 21 | #----------------------------------------------------------------------------- |
|
21 | 22 | # Class |
@@ -31,6 +32,7 class TestSlidesExporter(ExportersTestsBase): | |||
|
31 | 32 | SlidesExporter() |
|
32 | 33 | |
|
33 | 34 | |
|
35 | @onlyif_cmds_exist('pandoc') | |
|
34 | 36 | def test_export(self): |
|
35 | 37 | """ |
|
36 | 38 | Can a SlidesExporter export something? |
@@ -39,6 +41,7 class TestSlidesExporter(ExportersTestsBase): | |||
|
39 | 41 | assert len(output) > 0 |
|
40 | 42 | |
|
41 | 43 | |
|
44 | @onlyif_cmds_exist('pandoc') | |
|
42 | 45 | def test_export_reveal(self): |
|
43 | 46 | """ |
|
44 | 47 | Can a SlidesExporter export using the 'reveal' template? |
General Comments 0
You need to be logged in to leave comments.
Login now