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