Show More
@@ -15,7 +15,7 b' Module with tests for rst.py' | |||||
15 | #----------------------------------------------------------------------------- |
|
15 | #----------------------------------------------------------------------------- | |
16 |
|
16 | |||
17 | from .base import ExportersTestsBase |
|
17 | from .base import ExportersTestsBase | |
18 |
from ..rst import R |
|
18 | from ..rst import RSTExporter | |
19 |
|
19 | |||
20 | #----------------------------------------------------------------------------- |
|
20 | #----------------------------------------------------------------------------- | |
21 | # Class |
|
21 | # Class | |
@@ -26,14 +26,14 b' class Test_RstExporter(ExportersTestsBase):' | |||||
26 |
|
26 | |||
27 | def test_constructor(self): |
|
27 | def test_constructor(self): | |
28 | """ |
|
28 | """ | |
29 |
Can a R |
|
29 | Can a RSTExporter be constructed? | |
30 | """ |
|
30 | """ | |
31 |
R |
|
31 | RSTExporter() | |
32 |
|
32 | |||
33 |
|
33 | |||
34 | def test_export(self): |
|
34 | def test_export(self): | |
35 | """ |
|
35 | """ | |
36 |
Can a R |
|
36 | Can a RSTExporter export something? | |
37 | """ |
|
37 | """ | |
38 |
(output, resources) = R |
|
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