##// END OF EJS Templates
test that `-h` and `--help-all` work for various IPython entry points...
test that `-h` and `--help-all` work for various IPython entry points should help catch when we break these things.

File last commit:

r12354:26c3ff0c
r12354:26c3ff0c
Show More
test_notebookapp.py
29 lines | 986 B | text/x-python | PythonLexer
"""Test NotebookApp"""
#-----------------------------------------------------------------------------
# Copyright (C) 2013 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
import nose.tools as nt
import IPython.testing.tools as tt
#-----------------------------------------------------------------------------
# Test functions
#-----------------------------------------------------------------------------
def test_help_output():
"""ipython notebook -h works"""
tt.help_output_test('notebook')
def test_help_all_output():
"""ipython notebook --help-all works"""
tt.help_all_output_test('notebook')