##// END OF EJS Templates
remove html test group
Min RK -
Show More
@@ -142,7 +142,6 b" have['zmq'] = test_for('zmq.pyzmq_version_info', min_zmq, callback=lambda x: x()"
142 142
143 143 test_group_names = ['core',
144 144 'extensions', 'lib', 'terminal', 'testing', 'utils',
145 'html',
146 145 ]
147 146
148 147 class TestSection(object):
@@ -165,12 +164,8 b' class TestSection(object):'
165 164 def will_run(self):
166 165 return self.enabled and all(have[p] for p in self.dependencies)
167 166
168 shims = {
169 'html': 'jupyter_notebook',
170 }
171
172 167 # Name -> (include, exclude, dependencies_met)
173 test_sections = {n:TestSection(n, [shims.get(n, 'IPython.%s' % n)]) for n in test_group_names}
168 test_sections = {n:TestSection(n, ['IPython.%s' % n]) for n in test_group_names}
174 169
175 170
176 171 # Exclusions and dependencies
@@ -224,20 +219,6 b" test_sections['autoreload'] = TestSection('autoreload',"
224 219 ['IPython.extensions.autoreload', 'IPython.extensions.tests.test_autoreload'])
225 220 test_group_names.append('autoreload')
226 221
227 # html:
228 sec = test_sections['html']
229 sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema')
230 # The notebook 'static' directory contains JS, css and other
231 # files for web serving. Occasionally projects may put a .py
232 # file in there (MathJax ships a conf.py), so we might as
233 # well play it safe and skip the whole thing.
234 sec.exclude('static')
235 sec.exclude('tasks')
236 if not have['jinja2']:
237 sec.exclude('notebookapp')
238 if not have['terminado']:
239 sec.exclude('terminal')
240
241 222
242 223 #-----------------------------------------------------------------------------
243 224 # Functions and classes
General Comments 0
You need to be logged in to leave comments. Login now