MCPcopy Index your code
hub / github.com/idank/explainshell / _fake_run

Method _fake_run

tests/test_manager.py:2083–2087  ·  view source on GitHub ↗
(ext, files, **kwargs)

Source from the content-addressed store, hash-verified

2081 mock_ext.return_value = MagicMock()
2082
2083 def _fake_run(ext, files, **kwargs):
2084 on_result = kwargs.get("on_result")
2085 if on_result:
2086 on_result(gz_path, entry)
2087 return BatchResult()
2088
2089 mock_run.side_effect = _fake_run
2090

Callers

nothing calls this directly

Calls 2

BatchResultClass · 0.90
on_resultFunction · 0.50

Tested by

no test coverage detected