mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
Merge pull request #7434 from takluyver/restore-test-all-js
Restore the ability to run all js tests with iptest js
This commit is contained in:
commit
6e829de3d2
@ -431,8 +431,11 @@ def prepare_controllers(options):
|
||||
not to run."""
|
||||
testgroups = options.testgroups
|
||||
if testgroups:
|
||||
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
|
||||
py_testgroups = [g for g in testgroups if g not in js_testgroups]
|
||||
if 'js' in testgroups:
|
||||
js_testgroups = all_js_groups()
|
||||
else:
|
||||
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
|
||||
py_testgroups = [g for g in testgroups if not g.startswith('js')]
|
||||
else:
|
||||
py_testgroups = py_test_group_names
|
||||
if not options.all:
|
||||
|
Loading…
Reference in New Issue
Block a user