##// END OF EJS Templates
RST capitalization fix
Jonathan Frederic -
Show More
@@ -1,39 +1,39 b''
1 """
1 """
2 Module with tests for rst.py
2 Module with tests for rst.py
3 """
3 """
4
4
5 #-----------------------------------------------------------------------------
5 #-----------------------------------------------------------------------------
6 # Copyright (c) 2013, the IPython Development Team.
6 # Copyright (c) 2013, the IPython Development Team.
7 #
7 #
8 # Distributed under the terms of the Modified BSD License.
8 # Distributed under the terms of the Modified BSD License.
9 #
9 #
10 # The full license is in the file COPYING.txt, distributed with this software.
10 # The full license is in the file COPYING.txt, distributed with this software.
11 #-----------------------------------------------------------------------------
11 #-----------------------------------------------------------------------------
12
12
13 #-----------------------------------------------------------------------------
13 #-----------------------------------------------------------------------------
14 # Imports
14 # Imports
15 #-----------------------------------------------------------------------------
15 #-----------------------------------------------------------------------------
16
16
17 from .base import ExportersTestsBase
17 from .base import ExportersTestsBase
18 from ..rst import RstExporter
18 from ..rst import RSTExporter
19
19
20 #-----------------------------------------------------------------------------
20 #-----------------------------------------------------------------------------
21 # Class
21 # Class
22 #-----------------------------------------------------------------------------
22 #-----------------------------------------------------------------------------
23
23
24 class Test_RstExporter(ExportersTestsBase):
24 class Test_RstExporter(ExportersTestsBase):
25 """Contains test functions for rst.py"""
25 """Contains test functions for rst.py"""
26
26
27 def test_constructor(self):
27 def test_constructor(self):
28 """
28 """
29 Can a RstExporter be constructed?
29 Can a RSTExporter be constructed?
30 """
30 """
31 RstExporter()
31 RSTExporter()
32
32
33
33
34 def test_export(self):
34 def test_export(self):
35 """
35 """
36 Can a RstExporter export something?
36 Can a RSTExporter export something?
37 """
37 """
38 (output, resources) = RstExporter().from_filename(self._get_notebook())
38 (output, resources) = RSTExporter().from_filename(self._get_notebook())
39 assert len(output) > 0 No newline at end of file
39 assert len(output) > 0
General Comments 0
You need to be logged in to leave comments. Login now