From 41a1e0a7326e6d76a48e96f2c72b1a984dc36c01 2013-01-18 08:07:03 From: MinRK Date: 2013-01-18 08:07:03 Subject: [PATCH] include stream creation in notebook KM tests --- diff --git a/IPython/frontend/html/notebook/tests/test_kernelmanager.py b/IPython/frontend/html/notebook/tests/test_kernelmanager.py index 3b8c18a..6167d7d 100644 --- a/IPython/frontend/html/notebook/tests/test_kernelmanager.py +++ b/IPython/frontend/html/notebook/tests/test_kernelmanager.py @@ -48,8 +48,14 @@ class TestKernelManager(TestCase): self.assertEqual(ip, cinfo['ip']) self.assertTrue('stdin_port' in cinfo) self.assertTrue('iopub_port' in cinfo) + stream = km.create_iopub_stream(kid) + stream.close() self.assertTrue('shell_port' in cinfo) + stream = km.create_shell_stream(kid) + stream.close() self.assertTrue('hb_port' in cinfo) + stream = km.create_hb_stream(kid) + stream.close() km.shutdown_kernel(kid) def test_tcp_lifecycle(self):