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

Method test_fdpath

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

Source from the content-addressed store, hash-verified

145 self.assertIsNone(result)
146
147 def test_fdpath(self):
148 self.mock.set_eval_response(True, "/dev/null\n")
149 result = self.file.fdpath(3)
150 self.assertEqual(result, "/dev/null")
151
152 def test_fdpath_nil(self):
153 self.mock.set_eval_response(True, "__NIL__\n")

Callers

nothing calls this directly

Calls 2

set_eval_responseMethod · 0.80
fdpathMethod · 0.80

Tested by

no test coverage detected