Show More
@@ -81,14 +81,14 b' class TestNbConvertApp(TestsBase):' | |||||
81 | assert os.path.isfile('notebook2.py') |
|
81 | assert os.path.isfile('notebook2.py') | |
82 |
|
82 | |||
83 |
|
83 | |||
84 | #@dec.skip_known_failure |
|
84 | @dec.onlyif_cmds_exist('pdflatex') | |
85 | def test_post_processor(self): |
|
85 | def test_post_processor(self): | |
86 | """ |
|
86 | """ | |
87 | Do post processors work? |
|
87 | Do post processors work? | |
88 | """ |
|
88 | """ | |
89 | with self.create_temp_cwd(['notebook1.ipynb']): |
|
89 | with self.create_temp_cwd(['notebook1.ipynb']): | |
90 | assert not 'error' in self.call([IPYTHON, 'nbconvert', '--to="latex"', |
|
90 | assert not 'error' in self.call([IPYTHON, 'nbconvert', '--to="latex"', | |
91 | 'notebook1', '--post="PDF"', 'PDFPostProcessor.verbose=True']).lower() |
|
91 | 'notebook1', '--post="PDF"', '--PDFPostProcessor.verbose=True']).lower() | |
92 | assert os.path.isfile('notebook1.tex') |
|
92 | assert os.path.isfile('notebook1.tex') | |
93 | print("\n\n\t" + "\n\t".join([f for f in os.listdir('.') if os.path.isfile(f)]) + "\n\n") |
|
93 | print("\n\n\t" + "\n\t".join([f for f in os.listdir('.') if os.path.isfile(f)]) + "\n\n") | |
94 | assert os.path.isfile('notebook1.pdf') |
|
94 | assert os.path.isfile('notebook1.pdf') |
General Comments 0
You need to be logged in to leave comments.
Login now