##// END OF EJS Templates
add disabling, align badges and improve look...
add disabling, align badges and improve look - Disable checkboxes when there is nothing to select - right-alignment of badges in the menu - HTML and CSS improvements for better look (not final) Internal changes: - Avoid use of `stopPropagation()`! Instead, replace bootstap's dropdown hide/show logic with suitable sticky-dropdown behaviour. - Avoid selecting the `..` parent folder

File last commit:

r12374:d33c0b60
r20345:f41f7f1d
Show More
test_public_api.py
41 lines | 1.1 KiB | text/x-python | PythonLexer
"""Test the IPython.kernel public API
Authors
-------
* MinRK
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2013, the IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
import nose.tools as nt
from IPython.kernel import launcher, connect
from IPython import kernel
#-----------------------------------------------------------------------------
# Classes and functions
#-----------------------------------------------------------------------------
def test_kms():
for base in ("", "Multi"):
KM = base + "KernelManager"
nt.assert_in(KM, dir(kernel))
def test_kcs():
for base in ("", "Blocking"):
KM = base + "KernelClient"
nt.assert_in(KM, dir(kernel))
def test_launcher():
for name in launcher.__all__:
nt.assert_in(name, dir(kernel))
def test_connect():
for name in connect.__all__:
nt.assert_in(name, dir(kernel))