| 1 |
"""Test help output of various IPython entry points""" |
| 2 |
|
| 3 |
# Copyright (c) IPython Development Team. |
| 4 |
# Distributed under the terms of the Modified BSD License. |
| 5 |
|
| 6 |
import pytest |
| 7 |
import IPython.testing.tools as tt |
| 8 |
|
| 9 |
|
| 10 |
def test_ipython_help(): |
| 11 |
tt.help_all_output_test() |
| 12 |
|
| 13 |
|
| 14 |
def test_profile_help(): |
| 15 |
tt.help_all_output_test("profile") |
| 16 |
|
| 17 |
|
| 18 |
def test_profile_list_help(): |
| 19 |
tt.help_all_output_test("profile list") |
| 20 |
|
| 21 |
|
| 22 |
def test_profile_create_help(): |
| 23 |
tt.help_all_output_test("profile create") |
| 24 |
|
| 25 |
|
| 26 |
def test_locate_help(): |
| 27 |
tt.help_all_output_test("locate") |
| 28 |
|
| 29 |
|
| 30 |
def test_locate_profile_help(): |
| 31 |
tt.help_all_output_test("locate profile") |
| 32 |
|
| 33 |
|
| 34 |
def test_trust_help(): |
| 35 |
pytest.importorskip("nbformat") |
| 36 |
tt.help_all_output_test("trust") |