plexus.cli.procedure.test_actual_runtime_flow module

Test that reproduces the EXACT runtime flow to verify tools are available. This test simulates what actually happens when service.py runs a procedure.

async plexus.cli.procedure.test_actual_runtime_flow.test_actual_service_flow_tool_availability()

Reproduce the exact flow from service.py to verify tools are available.

This is what actually happens: 1. service.py calls create_procedure_mcp_server(experiment_context={}, plexus_tools=None) 2. Server registers all tools 3. sop_agent_base.py connects to server and loads tools 4. Tools are filtered to allowed list 5. Agent should have plexus_evaluation_score_result_find available

async plexus.cli.procedure.test_actual_runtime_flow.test_langchain_tool_binding()

Test that tools can be bound to LangChain LLM. This is the final step before the agent uses them.