##// END OF EJS Templates
test MKM.shutdown_all
Min RK -
Show More
@@ -62,6 +62,15 b' class TestKernelManager(TestCase):'
62 km = self._get_tcp_km()
62 km = self._get_tcp_km()
63 self._run_lifecycle(km)
63 self._run_lifecycle(km)
64
64
65 def test_shutdown_all(self):
66 km = self._get_tcp_km()
67 kid = km.start_kernel(stdout=PIPE, stderr=PIPE)
68 self.assertIn(kid, km)
69 km.shutdown_all()
70 self.assertNotIn(kid, km)
71 # shutdown again is okay, because we have no kernels
72 km.shutdown_all()
73
65 def test_tcp_cinfo(self):
74 def test_tcp_cinfo(self):
66 km = self._get_tcp_km()
75 km = self._get_tcp_km()
67 self._run_cinfo(km, 'tcp', localhost())
76 self._run_cinfo(km, 'tcp', localhost())
General Comments 0
You need to be logged in to leave comments. Login now