CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
test(session): assert background run results
xfgonge4cc9e23d0eb
diff --git a/tests/agent/test_execution_session.py b/tests/agent/test_execution_session.pyindex db3475b..9099915 100644--- a/tests/agent/test_execution_session.py+++ b/tests/agent/test_execution_session.py@@ -260,7 +260,7 @@ async def test_agent_respond_checks_admission_before_loading_pending() -> None:assert checkpointer.load_pending_calls == calls_beforerelease.set()- await active+ assert await active == "run-1"@pytest.mark.asynciodiff --git a/tests/agent/test_session_input.py b/tests/agent/test_session_input.pyindex 6f6f2dc..5f4f051 100644--- a/tests/agent/test_session_input.py+++ b/tests/agent/test_session_input.py@@ -264,7 +264,7 @@ async def test_input_admission_closes_before_final_on_run_end_hook() -> None:assert receipt.status == "closed"release.set()- await task+ assert await task == "run-1"@pytest.mark.asyncio