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

Method test_load_script

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

Source from the content-addressed store, hash-verified

370 self.assertEqual(self.session.unhook(0), -1)
371
372 def test_load_script(self):
373 self.lib.renef_load_script.return_value = make_result(1, "loaded")
374 ok, out, err = self.session.load_script("/path/to/script.lua")
375 self.assertTrue(ok)
376 self.assertEqual(out, "loaded")
377
378 def test_memscan(self):
379 self.lib.renef_memscan.return_value = make_result(1, "found 3 results")

Callers

nothing calls this directly

Calls 2

make_resultFunction · 0.85
load_scriptMethod · 0.80

Tested by

no test coverage detected