##// END OF EJS Templates
remove utils.doctestreload...
remove utils.doctestreload it's unused, and its docstring suggests that it's obsolete on all currently supported Pythons.

File last commit:

r20951:706daf38
r21076:a160d671
Show More
test_public_api.py
40 lines | 1.1 KiB | text/x-python | PythonLexer
"""Test the jupyter_client 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 jupyter_client 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))