Show More
@@ -127,6 +127,16 b' class TestNbConvertApp(TestsBase):' | |||||
127 | with open('notebook2.slides.html') as f: |
|
127 | with open('notebook2.slides.html') as f: | |
128 | assert '/reveal.css' in f.read() |
|
128 | assert '/reveal.css' in f.read() | |
129 |
|
129 | |||
|
130 | def test_output_ext(self): | |||
|
131 | """test --output=outputfile[.ext]""" | |||
|
132 | with self.create_temp_cwd(['notebook1.ipynb']): | |||
|
133 | self.call('nbconvert --log-level 0 --to python ' | |||
|
134 | 'notebook1.ipynb --output nb.py') | |||
|
135 | assert os.path.exists('nb.py') | |||
|
136 | ||||
|
137 | self.call('nbconvert --log-level 0 --to python ' | |||
|
138 | 'notebook1.ipynb --output nb2') | |||
|
139 | assert os.path.exists('nb2.py') | |||
130 |
|
140 | |||
131 | def test_glob_explicit(self): |
|
141 | def test_glob_explicit(self): | |
132 | """ |
|
142 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now