##// END OF EJS Templates
Remove shimmodule IPython.config Deprecated since IPython 4.0...
Remove shimmodule IPython.config Deprecated since IPython 4.0 This should not be relied upon as this was deprecated Python 3.6 was not released yet.

File last commit:

r27104:eac76a50
r27211:2c1125bc
Show More
test_help.py
30 lines | 722 B | text/x-python | PythonLexer
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354 """Test help output of various IPython entry points"""
MinRK
Don't use nbformat.current in core
r18604 # Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
Nikita Kniazev
Move optional dependencies to a separate set
r27104 import pytest
MinRK
de-decorate help output tests
r12356 import IPython.testing.tools as tt
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_ipython_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test()
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_profile_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test("profile")
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_profile_list_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test("profile list")
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_profile_create_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test("profile create")
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_locate_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test("locate")
MinRK
test that `-h` and `--help-all` work for various IPython entry points...
r12354
def test_locate_profile_help():
MinRK
de-decorate help output tests
r12356 tt.help_all_output_test("locate profile")
MinRK
test notebook signing
r14863
def test_trust_help():
Nikita Kniazev
Move optional dependencies to a separate set
r27104 pytest.importorskip("nbformat")
MinRK
test notebook signing
r14863 tt.help_all_output_test("trust")