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

Function make_test_result

tests/objects/test_operation.py:156–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154
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
168@pytest.fixture

Callers 3

test_factsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected