Show More
@@ -21,12 +21,6 b' from .base import TestsBase' | |||
|
21 | 21 | import IPython.testing.tools as tt |
|
22 | 22 | from IPython.testing import decorators as dec |
|
23 | 23 | |
|
24 | ||
|
25 | #----------------------------------------------------------------------------- | |
|
26 | # Constants | |
|
27 | #----------------------------------------------------------------------------- | |
|
28 | ||
|
29 | ||
|
30 | 24 | #----------------------------------------------------------------------------- |
|
31 | 25 | # Classes and functions |
|
32 | 26 | #----------------------------------------------------------------------------- |
@@ -85,7 +79,7 b' class TestNbConvertApp(TestsBase):' | |||
|
85 | 79 | """ |
|
86 | 80 | with self.create_temp_cwd(['notebook2.ipynb']): |
|
87 | 81 | os.rename('notebook2.ipynb', 'notebook with spaces.ipynb') |
|
88 |
|
|
|
82 | self.call('nbconvert --log-level 0 --to latex ' | |
|
89 | 83 | '"notebook with spaces" --post PDF ' |
|
90 | 84 | '--PDFPostProcessor.verbose=True') |
|
91 | 85 | assert os.path.isfile('notebook with spaces.tex') |
@@ -194,15 +188,14 b' class TestNbConvertApp(TestsBase):' | |||
|
194 | 188 | self.call('nbconvert --log-level 0 --to python nb1_*') |
|
195 | 189 | assert os.path.isfile(u'nb1_análisis.py') |
|
196 | 190 | |
|
197 | @dec.onlyif_cmds_exist('pdflatex') | |
|
198 | @dec.onlyif_cmds_exist('pandoc') | |
|
199 | def test_filename_accent(self): | |
|
191 | @dec.onlyif_cmds_exist('pdflatex', 'pandoc') | |
|
192 | def test_filename_accent_pdf(self): | |
|
200 | 193 | """ |
|
201 | 194 | Generate PDFs if notebooks have an accent in their name? |
|
202 | 195 | """ |
|
203 | 196 | with self.create_temp_cwd(): |
|
204 | 197 | self.create_empty_notebook(u'nb1_análisis.ipynb') |
|
205 |
|
|
|
198 | self.call('nbconvert --log-level 0 --to latex ' | |
|
206 | 199 | '"nb1_*" --post PDF ' |
|
207 | 200 | '--PDFPostProcessor.verbose=True') |
|
208 | 201 | assert os.path.isfile(u'nb1_análisis.tex') |
General Comments 0
You need to be logged in to leave comments.
Login now