##// END OF EJS Templates
skip tests that require pandoc
Paul Ivanov -
Show More
@@ -16,6 +16,7 b' Module with tests for basichtml.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..basichtml import BasicHTMLExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -30,10 +31,10 b' class TestBasicHTMLExporter(ExportersTestsBase):'
30 31 """
31 32 BasicHTMLExporter()
32 33
33
34 @onlyif_cmds_exist('pandoc')
34 35 def test_export(self):
35 36 """
36 37 Can a BasicHTMLExporter export something?
37 38 """
38 39 (output, resources) = BasicHTMLExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
40 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for fullhtml.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..fullhtml import FullHTMLExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -30,10 +31,10 b' class TestFullHTMLExporter(ExportersTestsBase):'
30 31 """
31 32 FullHTMLExporter()
32 33
33
34 @onlyif_cmds_exist('pandoc')
34 35 def test_export(self):
35 36 """
36 37 Can a FullHTMLExporter export something?
37 38 """
38 39 (output, resources) = FullHTMLExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
40 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for latex.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..latex import LatexExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -31,9 +32,10 b' class TestLatexExporter(ExportersTestsBase):'
31 32 LatexExporter()
32 33
33 34
35 @onlyif_cmds_exist('pandoc')
34 36 def test_export(self):
35 37 """
36 38 Can a LatexExporter export something?
37 39 """
38 40 (output, resources) = LatexExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
41 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for reveal.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..reveal import RevealExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -31,9 +32,10 b' class TestRevealExporter(ExportersTestsBase):'
31 32 RevealExporter()
32 33
33 34
35 @onlyif_cmds_exist('pandoc')
34 36 def test_export(self):
35 37 """
36 38 Can a RevealExporter export something?
37 39 """
38 40 (output, resources) = RevealExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
41 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for rst.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..rst import RSTExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -31,9 +32,10 b' class TestRSTExporter(ExportersTestsBase):'
31 32 RSTExporter()
32 33
33 34
35 @onlyif_cmds_exist('pandoc')
34 36 def test_export(self):
35 37 """
36 38 Can a RSTExporter export something?
37 39 """
38 40 (output, resources) = RSTExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
41 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for sphinx_howto.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..sphinx_howto import SphinxHowtoExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -31,9 +32,10 b' class TestSphinxHowtoExporter(ExportersTestsBase):'
31 32 SphinxHowtoExporter()
32 33
33 34
35 @onlyif_cmds_exist('pandoc')
34 36 def test_export(self):
35 37 """
36 38 Can a SphinxHowtoExporter export something?
37 39 """
38 40 (output, resources) = SphinxHowtoExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
41 assert len(output) > 0
@@ -16,6 +16,7 b' Module with tests for sphinx_manual.py'
16 16
17 17 from .base import ExportersTestsBase
18 18 from ..sphinx_manual import SphinxManualExporter
19 from IPython.testing.decorators import onlyif_cmds_exist
19 20
20 21 #-----------------------------------------------------------------------------
21 22 # Class
@@ -31,9 +32,10 b' class TestSphinxManualExporter(ExportersTestsBase):'
31 32 SphinxManualExporter()
32 33
33 34
35 @onlyif_cmds_exist('pandoc')
34 36 def test_export(self):
35 37 """
36 38 Can a SphinxManualExporter export something?
37 39 """
38 40 (output, resources) = SphinxManualExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
41 assert len(output) > 0
General Comments 0
You need to be logged in to leave comments. Login now