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

Function setup_run_one_link_operation

tests/services/test_app_svc.py:14–17  ·  view source on GitHub ↗
(setup_operations_api_test, test_agent, test_operation)

Source from the content-addressed store, hash-verified

12
13@pytest.fixture
14async def setup_run_one_link_operation(setup_operations_api_test, test_agent, test_operation):
15 operation = (await BaseService.get_service('data_svc').locate('operations', {'id': test_operation['id']}))[0]
16 operation.agents.append(test_agent)
17 operation.state = operation.States.RUN_ONE_LINK.value
18
19
20@pytest.fixture

Callers

nothing calls this directly

Calls 2

get_serviceMethod · 0.80
locateMethod · 0.45

Tested by

no test coverage detected