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