##// 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 147 have['jinja2'] = test_for('jinja2')
148 148 have['requests'] = test_for('requests')
149 149 have['sphinx'] = test_for('sphinx')
150 have['jsonschema'] = test_for('jsonschema')
150 151 have['casperjs'] = is_cmd_found('casperjs')
151 152 have['phantomjs'] = is_cmd_found('phantomjs')
152 153 have['slimerjs'] = is_cmd_found('slimerjs')
@@ -266,7 +267,7 b" test_sections['qt'].requires('zmq', 'qt', 'pygments')"
266 267
267 268 # html:
268 269 sec = test_sections['html']
269 sec.requires('zmq', 'tornado', 'requests', 'sqlite3')
270 sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema')
270 271 # The notebook 'static' directory contains JS, css and other
271 272 # files for web serving. Occasionally projects may put a .py
272 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 286 # nbconvert:
286 287 sec = test_sections['nbconvert']
287 sec.requires('pygments', 'jinja2')
288 sec.requires('pygments', 'jinja2', 'jsonschema')
288 289 # Exclude nbconvert directories containing config files used to test.
289 290 # Executing the config files with iptest would cause an exception.
290 291 sec.exclude('tests.files')
@@ -293,6 +294,9 b" if not have['tornado']:"
293 294 sec.exclude('nbconvert.post_processors.serve')
294 295 sec.exclude('nbconvert.post_processors.tests.test_serve')
295 296
297 # nbformat:
298 test_sections['nbformat'].requires('jsonschema')
299
296 300 #-----------------------------------------------------------------------------
297 301 # Functions and classes
298 302 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now