Skip to content

Commit 19d3666

Browse files
committed
Merge pull request ipython#198 from minrk/help-output-tests
exercise help-output tests
2 parents 20f8996 + 88bc62c commit 19d3666

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

traitlets/config/tests/test_application.py

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
from traitlets.config.configurable import Configurable
2424
from traitlets.config.loader import Config
25+
from traitlets.tests.utils import check_help_output, check_help_all_output
2526

2627
from traitlets.config.application import (
2728
Application
@@ -269,3 +270,11 @@ def test_deprecated_notifier():
269270
assert app.override_called
270271
assert app.parent_called
271272

273+
274+
def test_help_output():
275+
check_help_output(__name__)
276+
check_help_all_output(__name__)
277+
278+
if __name__ == '__main__':
279+
# for test_help_output:
280+
MyApp.launch_instance()

0 commit comments

Comments
 (0)