##// END OF EJS Templates
When a preset is activated fire "preset_activated" event....
When a preset is activated fire "preset_activated" event. On "preset_activated" event, update the value of the maintoolbar select element that lists celltoolbar presets. When a preset is registered after notebook is loaded, active it if needed.

File last commit:

r12357:150bcc8a
r16533:0f8e453d
Show More
test_app.py
25 lines | 888 B | text/x-python | PythonLexer
"""Test QtConsoleApp"""
#-----------------------------------------------------------------------------
# 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 qtconsole --help-all works"""
tt.help_all_output_test('qtconsole')