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

Method _fake_run

tests/test_manager.py:1875–1881  ·  view source on GitHub ↗
(ext, gz_files, **kwargs)

Source from the content-addressed store, hash-verified

1873 ]
1874
1875 def _fake_run(ext, gz_files, **kwargs):
1876 files = left_files if mock_run.call_count == 1 else right_files
1877 on_result = kwargs.get("on_result")
1878 if on_result:
1879 for f in files:
1880 on_result(f.gz_path, f)
1881 return BatchResult()
1882
1883 mock_run.side_effect = _fake_run
1884

Callers

nothing calls this directly

Calls 2

BatchResultClass · 0.90
on_resultFunction · 0.50

Tested by

no test coverage detected