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

Method test_write_success

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

Source from the content-addressed store, hash-verified

155 self.assertIsNone(result)
156
157 def test_write_success(self):
158 self.mock.set_eval_response(True, "true\n")
159 self.assertTrue(self.file.write("/tmp/dump.bin", 0x7f000000, 4096))
160
161 def test_write_failure(self):
162 self.mock.set_eval_response(True, "false\n")

Callers

nothing calls this directly

Calls 2

set_eval_responseMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected