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([])
Esempio n. 2
0
 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([])
Esempio n. 5
0
 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([])
Esempio n. 6
0
 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([])
Esempio n. 7
0
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"])
Esempio n. 8
0
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'])
Esempio n. 9
0
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'])
Esempio n. 10
0
 def test_help_output(self):
     """ipython nbconvert --help-all works"""
     check_help_all_output("nbconvert")
Esempio n. 11
0
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('notebook.bundler.bundlerextensions')
    check_help_all_output('notebook.bundler.bundlerextensions', ['enable'])
    check_help_all_output('notebook.bundler.bundlerextensions', ['disable'])
Esempio n. 13
0
def test_help_output():
    check_help_all_output('jupyter_server')
Esempio n. 14
0
def test_help_output():
    check_help_output(__name__)
    check_help_all_output(__name__)
Esempio n. 15
0
def test_help_output():
    """jupyter notebook --help-all works"""
    # FIXME: will be jupyter_notebook
    check_help_all_output('IPython.html')
Esempio n. 16
0
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'])
Esempio n. 19
0
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'])
Esempio n. 20
0
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'])
Esempio n. 21
0
def test_help_output():
    check_help_output(__name__)
    check_help_all_output(__name__)
Esempio n. 22
0
def test_help_output():
    """jupyter console --help-all works"""
    check_help_all_output('jupyter_console')
Esempio n. 23
0
def test_help_output():
    """jupyter server --help-all works"""
    check_help_all_output('jupyter_server')
Esempio n. 24
0
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'])
Esempio n. 25
0
def test_help_output():
    """ipython notebook --help-all works"""
    check_help_all_output('notebook')
Esempio n. 26
0
def test_help_output():
    """jupyter qtconsole --help-all works"""
    check_help_all_output("qtconsole")
Esempio n. 27
0
 def test_help_output(self):
     """ipython nbconvert --help-all works"""
     check_help_all_output('nbconvert')
Esempio n. 28
0
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'])