Show More
@@ -438,7 +438,7 b' class ConnectionFileMixin(HasTraits):' | |||
|
438 | 438 | stdin_port=self.stdin_port, |
|
439 | 439 | hb_port=self.hb_port, |
|
440 | 440 | control_port=self.control_port, |
|
441 | signature_schme=self.session.signature_scheme, | |
|
441 | signature_scheme=self.session.signature_scheme, | |
|
442 | 442 | key=self.session.key, |
|
443 | 443 | ) |
|
444 | 444 |
@@ -47,4 +47,15 b' class TestKernelManager(TestCase):' | |||
|
47 | 47 | def test_ipc_lifecycle(self): |
|
48 | 48 | km = self._get_ipc_km() |
|
49 | 49 | self._run_lifecycle(km) |
|
50 | ||
|
51 | def test_get_connect_info(self): | |
|
52 | km = self._get_tcp_km() | |
|
53 | cinfo = km.get_connection_info() | |
|
54 | keys = sorted(cinfo.keys()) | |
|
55 | expected = sorted([ | |
|
56 | 'ip', 'transport', | |
|
57 | 'hb_port', 'shell_port', 'stdin_port', 'iopub_port', 'control_port', | |
|
58 | 'key', 'signature_scheme', | |
|
59 | ]) | |
|
60 | self.assertEqual(keys, expected) | |
|
50 | 61 |
General Comments 0
You need to be logged in to leave comments.
Login now