##// END OF EJS Templates
Require jsonschema for nbformat, html and nbconvert tests
Thomas Kluyver -
Show More
@@ -147,6 +147,7 b" have['tornado'] = test_for('tornado.version_info', (3,1,0), callback=None)"
147 have['jinja2'] = test_for('jinja2')
147 have['jinja2'] = test_for('jinja2')
148 have['requests'] = test_for('requests')
148 have['requests'] = test_for('requests')
149 have['sphinx'] = test_for('sphinx')
149 have['sphinx'] = test_for('sphinx')
150 have['jsonschema'] = test_for('jsonschema')
150 have['casperjs'] = is_cmd_found('casperjs')
151 have['casperjs'] = is_cmd_found('casperjs')
151 have['phantomjs'] = is_cmd_found('phantomjs')
152 have['phantomjs'] = is_cmd_found('phantomjs')
152 have['slimerjs'] = is_cmd_found('slimerjs')
153 have['slimerjs'] = is_cmd_found('slimerjs')
@@ -266,7 +267,7 b" test_sections['qt'].requires('zmq', 'qt', 'pygments')"
266
267
267 # html:
268 # html:
268 sec = test_sections['html']
269 sec = test_sections['html']
269 sec.requires('zmq', 'tornado', 'requests', 'sqlite3')
270 sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema')
270 # The notebook 'static' directory contains JS, css and other
271 # The notebook 'static' directory contains JS, css and other
271 # files for web serving. Occasionally projects may put a .py
272 # files for web serving. Occasionally projects may put a .py
272 # file in there (MathJax ships a conf.py), so we might as
273 # file in there (MathJax ships a conf.py), so we might as
@@ -284,7 +285,7 b" test_sections['config'].exclude('profile')"
284
285
285 # nbconvert:
286 # nbconvert:
286 sec = test_sections['nbconvert']
287 sec = test_sections['nbconvert']
287 sec.requires('pygments', 'jinja2')
288 sec.requires('pygments', 'jinja2', 'jsonschema')
288 # Exclude nbconvert directories containing config files used to test.
289 # Exclude nbconvert directories containing config files used to test.
289 # Executing the config files with iptest would cause an exception.
290 # Executing the config files with iptest would cause an exception.
290 sec.exclude('tests.files')
291 sec.exclude('tests.files')
@@ -293,6 +294,9 b" if not have['tornado']:"
293 sec.exclude('nbconvert.post_processors.serve')
294 sec.exclude('nbconvert.post_processors.serve')
294 sec.exclude('nbconvert.post_processors.tests.test_serve')
295 sec.exclude('nbconvert.post_processors.tests.test_serve')
295
296
297 # nbformat:
298 test_sections['nbformat'].requires('jsonschema')
299
296 #-----------------------------------------------------------------------------
300 #-----------------------------------------------------------------------------
297 # Functions and classes
301 # Functions and classes
298 #-----------------------------------------------------------------------------
302 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now