def test_00_help_output(self): """Check that app help works.""" app_module = 'jupyter_contrib_core.application' check_help_output(app_module, []) check_help_all_output(app_module, []) # sys.exit should be called if no argv specified with nt.assert_raises(SystemExit): main_app([])
def test_00_help_output(self): """Check that app help works.""" app_module = 'jupyter_contrib_core.application' check_help_output(app_module, []) check_help_all_output(app_module, []) # sys.exit should be called if no argv specified with pytest.raises(SystemExit): main_app([])
def test_01_help_output(self): """Check that app help works.""" app_module = 'jupyter_nbextensions_configurator.application' for argv in (['enable'], ['disable']): check_help_output(app_module, argv) check_help_all_output(app_module, argv) # sys.exit should be called if no argv specified with nt.assert_raises(SystemExit): main_app([])
def test_01_help_output(self): """Check that app help works.""" app_module = 'jupyter_contrib_nbextensions.application' for subcommand in (None, ['install'], ['uninstall']): check_help_output(app_module, subcommand=subcommand) check_help_all_output(app_module, subcommand=subcommand) # sys.exit should be called if empty argv specified with nt.assert_raises(SystemExit): main_app([])
def test_help_output(): check_help_all_output("jupyter_server.extension.serverextension") check_help_all_output("jupyter_server.extension.serverextension", ["enable"]) check_help_all_output("jupyter_server.extension.serverextension", ["disable"]) check_help_all_output("jupyter_server.extension.serverextension", ["install"]) check_help_all_output("jupyter_server.extension.serverextension", ["uninstall"])
def test_help_output(): check_help_all_output('jupyter_server.extension.serverextension') check_help_all_output('jupyter_server.extension.serverextension', ['enable']) check_help_all_output('jupyter_server.extension.serverextension', ['disable']) check_help_all_output('jupyter_server.extension.serverextension', ['install']) check_help_all_output('jupyter_server.extension.serverextension', ['uninstall'])
def test_help_output(): check_help_all_output('notebook.bundler.bundlerextensions') check_help_all_output('notebook.bundler.bundlerextensions', ['enable']) check_help_all_output('notebook.bundler.bundlerextensions', ['disable'])
def test_help_output(self): """ipython nbconvert --help-all works""" check_help_all_output("nbconvert")
def test_help_output(): """jupyter notebook --help-all works""" # FIXME: will be notebook check_help_all_output('notebook')
def test_help_output(): check_help_all_output('jupyter_server')
def test_help_output(): check_help_output(__name__) check_help_all_output(__name__)
def test_help_output(): """jupyter notebook --help-all works""" # FIXME: will be jupyter_notebook check_help_all_output('IPython.html')
def test_help_output(): """jupyter notebook --help-all works""" # FIXME: will be jupyter_notebook check_help_all_output('jupyter_notebook')
def test_help_output(): """ipython notebook --help-all works""" check_help_all_output('notebook')
def test_help_output(): check_help_all_output('notebook.serverextensions') check_help_all_output('notebook.serverextensions', ['enable']) check_help_all_output('notebook.serverextensions', ['disable']) check_help_all_output('notebook.serverextensions', ['install']) check_help_all_output('notebook.serverextensions', ['uninstall'])
def test_help_output(): check_help_all_output('jupyter_server.bundler.bundlerextensions') check_help_all_output('jupyter_server.bundler.bundlerextensions', ['enable']) check_help_all_output('jupyter_server.bundler.bundlerextensions', ['disable'])
def test_help_output(): check_help_all_output('jupyterlab.labextensions') check_help_all_output('jupyterlab.labextensions', ['enable']) check_help_all_output('jupyterlab.labextensions', ['disable']) check_help_all_output('jupyterlab.labextensions', ['install']) check_help_all_output('jupyterlab.labextensions', ['uninstall'])
def test_help_output(): """jupyter console --help-all works""" check_help_all_output('jupyter_console')
def test_help_output(): """jupyter server --help-all works""" check_help_all_output('jupyter_server')
def test_help_output(): """jupyter qtconsole --help-all works""" check_help_all_output("qtconsole")
def test_help_output(self): """ipython nbconvert --help-all works""" check_help_all_output('nbconvert')