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

Method test_exists_true

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

Source from the content-addressed store, hash-verified

127 self.assertIsNone(result)
128
129 def test_exists_true(self):
130 self.mock.set_eval_response(True, "true\n")
131 self.assertTrue(self.file.exists("/etc/hosts"))
132
133 def test_exists_false(self):
134 self.mock.set_eval_response(True, "false\n")

Callers

nothing calls this directly

Calls 2

set_eval_responseMethod · 0.80
existsMethod · 0.80

Tested by

no test coverage detected