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

Method test_fdpath_nil

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

Source from the content-addressed store, hash-verified

150 self.assertEqual(result, "/dev/null")
151
152 def test_fdpath_nil(self):
153 self.mock.set_eval_response(True, "__NIL__\n")
154 result = self.file.fdpath(999)
155 self.assertIsNone(result)
156
157 def test_write_success(self):
158 self.mock.set_eval_response(True, "true\n")

Callers

nothing calls this directly

Calls 2

set_eval_responseMethod · 0.80
fdpathMethod · 0.80

Tested by

no test coverage detected