Show More
@@ -54,7 +54,7 b' class TestNbConvertApp(TestsBase):' | |||
|
54 | 54 | """ |
|
55 | 55 | with self.create_temp_cwd(['notebook*.ipynb']): |
|
56 | 56 | self.call(IPYTHON + ' nbconvert --to="python"' |
|
57 |
' --notebooks= |
|
|
57 | ' --notebooks=*.ipynb') | |
|
58 | 58 | assert os.path.isfile('notebook1.py') |
|
59 | 59 | assert os.path.isfile('notebook2.py') |
|
60 | 60 | |
@@ -65,8 +65,8 b' class TestNbConvertApp(TestsBase):' | |||
|
65 | 65 | """ |
|
66 | 66 | with self.create_temp_cwd(): |
|
67 | 67 | self.copy_files_to(['notebook*.ipynb'], 'subdir/') |
|
68 |
self.call(IPYTHON + ' nbconvert --to="python"' |
|
|
69 |
' --notebooks= |
|
|
68 | self.call(IPYTHON + ' nbconvert --to="python"' | |
|
69 | ' --notebooks=%s' % os.path.join('subdir', '*.ipynb')) | |
|
70 | 70 | assert os.path.isfile('notebook1.py') |
|
71 | 71 | assert os.path.isfile('notebook2.py') |
|
72 | 72 | |
@@ -77,7 +77,7 b' class TestNbConvertApp(TestsBase):' | |||
|
77 | 77 | """ |
|
78 | 78 | with self.create_temp_cwd(['notebook*.ipynb']): |
|
79 | 79 | self.call(IPYTHON + ' nbconvert --to="python"' |
|
80 |
' --notebooks= |
|
|
80 | ' --notebooks=notebook2.ipynb') | |
|
81 | 81 | assert not os.path.isfile('notebook1.py') |
|
82 | 82 | assert os.path.isfile('notebook2.py') |
|
83 | 83 | |
@@ -101,7 +101,7 b' class TestNbConvertApp(TestsBase):' | |||
|
101 | 101 | """ |
|
102 | 102 | with self.create_temp_cwd(['notebook2.ipynb']): |
|
103 | 103 | self.call(IPYTHON + ' nbconvert --to=slides' |
|
104 |
' --notebooks= |
|
|
104 | ' --notebooks=notebook2.ipynb' | |
|
105 | 105 | ' --template=reveal') |
|
106 | 106 | assert os.path.isfile('notebook2.slides.html') |
|
107 | 107 | with open('notebook2.slides.html') as f: |
@@ -114,7 +114,7 b' class TestNbConvertApp(TestsBase):' | |||
|
114 | 114 | """ |
|
115 | 115 | with self.create_temp_cwd(['notebook*.ipynb']): |
|
116 | 116 | self.call(IPYTHON + ' nbconvert --to="python" --notebooks=' |
|
117 |
' |
|
|
117 | '*.ipynb,notebook1.ipynb,notebook2.ipynb') | |
|
118 | 118 | assert os.path.isfile('notebook1.py') |
|
119 | 119 | assert os.path.isfile('notebook2.py') |
|
120 | 120 | |
@@ -125,7 +125,7 b' class TestNbConvertApp(TestsBase):' | |||
|
125 | 125 | """ |
|
126 | 126 | with self.create_temp_cwd(['notebook*.ipynb']): |
|
127 | 127 | self.call(IPYTHON + ' nbconvert --to="python" --notebooks=' |
|
128 |
' |
|
|
128 | 'notebook1.ipynb,notebook2.ipynb,*.ipynb') | |
|
129 | 129 | assert os.path.isfile('notebook1.py') |
|
130 | 130 | assert os.path.isfile('notebook2.py') |
|
131 | 131 |
General Comments 0
You need to be logged in to leave comments.
Login now