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

Function demo_operation

tests/conftest.py:199–201  ·  view source on GitHub ↗
(event_loop, data_svc, operation, adversary)

Source from the content-addressed store, hash-verified

197
198@pytest.fixture
199def demo_operation(event_loop, data_svc, operation, adversary):
200 tadversary = event_loop.run_until_complete(data_svc.store(adversary()))
201 return operation(name='my first op', agents=[], adversary=tadversary)
202
203
204@pytest.fixture

Callers

nothing calls this directly

Calls 3

adversaryFunction · 0.85
operationFunction · 0.85
storeMethod · 0.45

Tested by

no test coverage detected