Show More
@@ -98,11 +98,11 b' class TestNbConvertApp(TestsBase):' | |||
|
98 | 98 | """ |
|
99 | 99 | Do export templates work? |
|
100 | 100 | """ |
|
101 |
with self.create_temp_cwd(['notebook |
|
|
102 |
assert not 'error' in self.call([IPYTHON, 'nbconvert', '--to= |
|
|
103 |
'--notebooks=["notebook2.ipynb"]', '--template= |
|
|
104 | assert os.path.isfile('notebook2.html') | |
|
105 | with open('notebook2.html') as f: | |
|
101 | with self.create_temp_cwd(['notebook2.ipynb']): | |
|
102 | assert not 'error' in self.call([IPYTHON, 'nbconvert', '--to=slides', | |
|
103 | '--notebooks=["notebook2.ipynb"]', '--template=reveal']).lower() | |
|
104 | assert os.path.isfile('notebook2.slides.html') | |
|
105 | with open('notebook2.slides.html') as f: | |
|
106 | 106 | assert '/reveal.css' in f.read() |
|
107 | 107 | |
|
108 | 108 |
General Comments 0
You need to be logged in to leave comments.
Login now