MCPcopy
hub / github.com/apache/caldera / _make_result

Function _make_result

tests/objects/test_operation.py:157–164  ·  view source on GitHub ↗
(link_id)

Source from the content-addressed store, hash-verified

155@pytest.fixture
156def make_test_result():
157 def _make_result(link_id):
158 result = dict(
159 id=link_id,
160 output=str(base64.b64encode('10.10.10.10'.encode('utf-8')).decode('utf-8')),
161 pid=0,
162 status=0
163 )
164 return Result(**result)
165 return _make_result
166
167

Callers

nothing calls this directly

Calls 3

ResultClass · 0.90
decodeMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected