Beispiel #1
0
 def test_terminate(self, kill):
     p = Process(Mock())
     p.pid = 1234
     p.terminate()
     kill.assert_called_once_with(p.pid, 9)
Beispiel #2
0
 def test_terminate(self, kill):
     p = Process(Mock())
     p.pid = 1234
     p.terminate()
     kill.assert_called_once_with(p.pid, 9)