MCPcopy Create free account
hub / github.com/idank/explainshell / _read_report

Method _read_report

tests/test_manager.py:2643–2649  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2641 shutil.rmtree(self._run_dir, ignore_errors=True)
2642
2643 def _read_report(self) -> dict:
2644 path = os.path.join(self._run_dir, "report.json")
2645 self.assertTrue(
2646 os.path.isfile(path), f"report.json not found in {self._run_dir}"
2647 )
2648 with open(path) as f:
2649 return json.load(f)
2650
2651 def _make_report(self, **overrides):
2652 defaults = dict(

Callers 6

test_report_schemaMethod · 0.95
test_reason_embeddedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected