MCPcopy Create free account
hub / github.com/HzaCode/OneCite / _fake

Method _fake

tests/test_cli.py:103–105  ·  view source on GitHub ↗
(*, input_type, **kw)

Source from the content-addressed store, hash-verified

101 captured = {}
102
103 def _fake(*, input_type, **kw):
104 captured['input_type'] = input_type
105 return {"results": ["OK"], "report": {"total": 1, "succeeded": 1, "failed_entries": []}}
106
107 with patch("onecite.cli.process_references", side_effect=_fake):
108 cli.process_command(self._ns(input_file=str(inf), quiet=True))

Callers

nothing calls this directly

Calls 1

interactive_callbackFunction · 0.85

Tested by

no test coverage detected