MCPcopy Create free account
hub / github.com/Ahmeth4n/renef / test_tgkill

Method test_tgkill

bindings/python/tests/test_api.py:83–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

81 self.assertEqual(result, -1)
82
83 def test_tgkill(self):
84 self.mock.set_eval_response(True, "0\n")
85 result = self.os.tgkill(100, 101, 9)
86 self.assertEqual(result, 0)
87 self.assertIn("OS.tgkill(100, 101, 9)", self.mock.eval_calls[-1])
88
89 def test_listdir(self):
90 self.mock.set_eval_response(True, "file1\nfile2\nfile3\n")

Callers

nothing calls this directly

Calls 2

set_eval_responseMethod · 0.80
tgkillMethod · 0.80

Tested by

no test coverage detected