Show More
@@ -82,9 +82,10 b' class TestNbConvertApp(TestsBase):' | |||||
82 | """ |
|
82 | """ | |
83 | Generate PDFs with graphics if notebooks have spaces in the name? |
|
83 | Generate PDFs with graphics if notebooks have spaces in the name? | |
84 | """ |
|
84 | """ | |
85 |
with self.create_temp_cwd(['notebook |
|
85 | with self.create_temp_cwd(['notebook2.ipynb']): | |
86 |
os.rename('notebook |
|
86 | os.rename('notebook2.ipynb', 'notebook with spaces.ipynb') | |
87 |
self.call('nbconvert --log-level=0 --to="latex" "notebook with spaces"' |
|
87 | o,e = self.call('nbconvert --log-level=0 --to="latex" "notebook with spaces"' | |
|
88 | ' --post="PDF" --PDFPostProcessor.verbose=True') | |||
88 | assert os.path.isfile('notebook with spaces.tex') |
|
89 | assert os.path.isfile('notebook with spaces.tex') | |
89 | assert os.path.isdir('notebook with spaces_files') |
|
90 | assert os.path.isdir('notebook with spaces_files') | |
90 | assert os.path.isfile('notebook with spaces.pdf') |
|
91 | assert os.path.isfile('notebook with spaces.pdf') |
General Comments 0
You need to be logged in to leave comments.
Login now