##// END OF EJS Templates
Make `SelectionWidget.values` a dict...
Make `SelectionWidget.values` a dict rename 'labels' and '_value' to 'value_names' and 'value_name'. To specify a mapping of value names and values, use a dict. If you specify `values=[list]`, then an OrderedDict will be used. Assignment after construction only supports a dict.

File last commit:

r12357:150bcc8a
r15024:7b94a2e2
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')