def METHOD_NAME(self):
    with patch("cm.models.os.kill") as kill_mock:
        response: Response = self.client.post(
            path=reverse(viewname="v2:joblog-terminate", kwargs={"pk": self.job_2.pk}), data={}
        )
        kill_mock.assert_called()
    self.assertEqual(response.status_code, HTTP_200_OK)