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

Function test_agent

tests/conftest.py:505–508  ·  view source on GitHub ↗
(event_loop)

Source from the content-addressed store, hash-verified

503
504@pytest.fixture
505def test_agent(event_loop):
506 agent = Agent(paw='123', sleep_min=2, sleep_max=8, watchdog=0, executors=['sh'], platform='linux')
507 event_loop.run_until_complete(BaseService.get_service('data_svc').store(agent))
508 return agent
509
510
511@pytest.fixture

Callers

nothing calls this directly

Calls 3

AgentClass · 0.90
get_serviceMethod · 0.80
storeMethod · 0.45

Tested by

no test coverage detected