Show More
@@ -45,6 +45,7 b' from nose.plugins import Plugin' | |||
|
45 | 45 | from nose.util import safe_str |
|
46 | 46 | |
|
47 | 47 | # Our own imports |
|
48 | from IPython.utils.process import is_cmd_found | |
|
48 | 49 | from IPython.utils.importstring import import_item |
|
49 | 50 | from IPython.testing.plugin.ipdoctest import IPythonDoctest |
|
50 | 51 | from IPython.external.decorators import KnownFailure, knownfailureif |
@@ -151,6 +152,7 b" have['wx.aui'] = test_for('wx.aui')" | |||
|
151 | 152 | have['azure'] = test_for('azure') |
|
152 | 153 | have['requests'] = test_for('requests') |
|
153 | 154 | have['sphinx'] = test_for('sphinx') |
|
155 | have['casperjs'] = is_cmd_found('casperjs') | |
|
154 | 156 | |
|
155 | 157 | min_zmq = (2,1,11) |
|
156 | 158 | |
@@ -162,7 +164,7 b" have['zmq'] = test_for('zmq.pyzmq_version_info', min_zmq, callback=lambda x: x()" | |||
|
162 | 164 | |
|
163 | 165 | test_group_names = ['parallel', 'kernel', 'kernel.inprocess', 'config', 'core', |
|
164 | 166 | 'extensions', 'lib', 'terminal', 'testing', 'utils', |
|
165 | 'nbformat', 'qt', 'html', 'nbconvert' | |
|
167 | 'nbformat', 'qt', 'html', 'js', 'nbconvert' | |
|
166 | 168 | ] |
|
167 | 169 | |
|
168 | 170 | class TestSection(object): |
@@ -286,6 +288,9 b" if not have['jinja2']:" | |||
|
286 | 288 | if not have['azure']: |
|
287 | 289 | sec.exclude('services.notebooks.azurenbmanager') |
|
288 | 290 | |
|
291 | sec = test_sections['js'] | |
|
292 | sec.requires('zmq', 'tornado', 'jinja2', 'casperjs') | |
|
293 | ||
|
289 | 294 | # config: |
|
290 | 295 | # Config files aren't really importable stand-alone |
|
291 | 296 | test_sections['config'].exclude('profile') |
General Comments 0
You need to be logged in to leave comments.
Login now