mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
nbformat also requires jsonpointer
This commit is contained in:
parent
e0e91460c8
commit
38d1f3dbc5
@ -148,6 +148,7 @@ have['jinja2'] = test_for('jinja2')
|
||||
have['requests'] = test_for('requests')
|
||||
have['sphinx'] = test_for('sphinx')
|
||||
have['jsonschema'] = test_for('jsonschema')
|
||||
have['jsonpointer'] = test_for('jsonpointer')
|
||||
have['casperjs'] = is_cmd_found('casperjs')
|
||||
have['phantomjs'] = is_cmd_found('phantomjs')
|
||||
have['slimerjs'] = is_cmd_found('slimerjs')
|
||||
@ -267,7 +268,7 @@ test_sections['qt'].requires('zmq', 'qt', 'pygments')
|
||||
|
||||
# html:
|
||||
sec = test_sections['html']
|
||||
sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema')
|
||||
sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema', 'jsonpointer')
|
||||
# The notebook 'static' directory contains JS, css and other
|
||||
# files for web serving. Occasionally projects may put a .py
|
||||
# file in there (MathJax ships a conf.py), so we might as
|
||||
@ -285,7 +286,7 @@ test_sections['config'].exclude('profile')
|
||||
|
||||
# nbconvert:
|
||||
sec = test_sections['nbconvert']
|
||||
sec.requires('pygments', 'jinja2', 'jsonschema')
|
||||
sec.requires('pygments', 'jinja2', 'jsonschema', 'jsonpointer')
|
||||
# Exclude nbconvert directories containing config files used to test.
|
||||
# Executing the config files with iptest would cause an exception.
|
||||
sec.exclude('tests.files')
|
||||
@ -295,7 +296,7 @@ if not have['tornado']:
|
||||
sec.exclude('nbconvert.post_processors.tests.test_serve')
|
||||
|
||||
# nbformat:
|
||||
test_sections['nbformat'].requires('jsonschema')
|
||||
test_sections['nbformat'].requires('jsonschema', 'jsonpointer')
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Functions and classes
|
||||
|
Loading…
Reference in New Issue
Block a user