MCPcopy Index your code
hub / github.com/apache/caldera / active_link

Function active_link

tests/conftest.py:535–550  ·  view source on GitHub ↗
(test_executor, test_agent, test_ability)

Source from the content-addressed store, hash-verified

533
534@pytest.fixture
535def active_link(test_executor, test_agent, test_ability):
536 return {
537 'command': str(b64encode(test_executor.command.encode()), 'utf-8'),
538 'paw': test_agent.paw,
539 'ability': test_ability,
540 'executor': test_executor,
541 'score': 0,
542 'jitter': 0,
543 'cleanup': 0,
544 'pin': 0,
545 'host': test_agent.host,
546 'deadman': False,
547 'used': [],
548 'id': '456',
549 'relationships': []
550 }
551
552
553@pytest.fixture

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected