molecule-core/workspace/tests
Molecule AI Core-DevOps 7f90630f98 fix(tests): correct test_sanitize_agent_error_stderr_and_exc assertion
The test expected the exception class to be hidden when stderr is provided,
but the implementation always uses the exc type as the tag. Fix the
assertion to match actual (correct) behavior: ValueError is in the tag,
stderr is the body. Also add a check that we don't fall back to the
generic "workspace logs" form.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 22:59:41 +00:00
..
adapters
snapshots
__init__.py
_signature_snapshot.py
conftest.py [core-be-agent] 2026-05-09 22:16:11 +00:00
test_a2a_cli.py
test_a2a_client.py fix(workspace): patch enrich_peer_metadata directly in test 2026-05-11 17:25:46 +00:00
test_a2a_executor.py fix(workspace): replace asyncio.get_event_loop().run_until_complete with asyncio.run() (#307) (#498) 2026-05-11 15:37:34 +00:00
test_a2a_mcp_server.py docs(a2a-mcp): close three contract gaps codex agents inherit out-of-the-box 2026-05-05 02:26:35 -07:00
test_a2a_multi_workspace.py fix(tests): retarget get_peers_with_diagnostic patches to a2a_tools_messaging (RFC #2873 iter 4d) 2026-05-05 09:52:15 -07:00
test_a2a_response.py test(workspace): add queue_id-absence and push-vs-poll distinction tests 2026-05-11 02:47:21 +00:00
test_a2a_sanitization.py chore(workspace): remove unused imports and f-string prefixes 2026-05-11 16:10:17 +00:00
test_a2a_tools_delegation.py chore(workspace): remove unused imports and f-string prefixes 2026-05-11 16:10:17 +00:00
test_a2a_tools_impl.py chore(workspace): remove unused imports and f-string prefixes 2026-05-11 16:10:17 +00:00
test_a2a_tools_inbox_enrichment.py fix(tests): drop unused json + pytest imports 2026-05-05 13:26:49 -07:00
test_a2a_tools_inbox_split.py refactor(workspace): extract inbox tools from a2a_tools.py (RFC #2873 iter 4e) 2026-05-05 14:28:58 -07:00
test_a2a_tools_inbox_wrappers.py fix(workspace): replace asyncio.get_event_loop().run_until_complete with asyncio.run() (#307) (#498) 2026-05-11 15:37:34 +00:00
test_a2a_tools_memory.py refactor(workspace): extract memory tools from a2a_tools.py to a2a_tools_memory.py (RFC #2873 iter 4c) 2026-05-05 09:50:39 -07:00
test_a2a_tools_messaging.py refactor(workspace): extract messaging tools from a2a_tools.py to a2a_tools_messaging.py (RFC #2873 iter 4d) 2026-05-05 09:50:47 -07:00
test_a2a_tools_module.py
test_a2a_tools_rbac.py refactor(workspace): extract RBAC helpers from a2a_tools.py to a2a_tools_rbac.py (RFC #2873 iter 4a) 2026-05-05 04:43:16 -07:00
test_adapter_base_event_log.py
test_adapter_base_signature.py
test_agent_card_well_known_path.py
test_agent.py
test_agents_md.py
test_approval.py
test_audit_ledger.py
test_audit.py
test_awareness_client_full.py
test_boot_routes.py test(runtime): pin PR #2756's card-vs-setup decoupling with build_routes helper 2026-05-04 14:59:56 -07:00
test_card_helpers.py
test_compliance.py
test_config.py fix(runtime): MODEL_PROVIDER env is misnamed — accept MODEL/MOLECULE_MODEL, deprecate the legacy name 2026-05-10 02:38:14 -07:00
test_configs_dir.py
test_consolidation.py
test_coordinator_parent.py feat: drop shared_context — use memory v2 team namespace instead 2026-05-04 16:30:26 -07:00
test_coordinator_routing.py
test_delegation_sync_via_polling.py fix(workspace): update 3 test assertions for OFFSEC-003 boundary wrapping (PR #477) 2026-05-11 16:29:31 +00:00
test_delegation.py
test_dispatcher_schema_drift.py test(mcp): structural gate — schema↔dispatcher drift catches dropped kwargs 2026-05-04 16:29:54 -07:00
test_event_log.py
test_events.py
test_executor_helpers.py fix(tests): correct test_sanitize_agent_error_stderr_and_exc assertion 2026-05-11 22:59:41 +00:00
test_gh_wrapper.sh
test_governance.py
test_heartbeat_runtime_metadata.py
test_heartbeat.py
test_hitl.py
test_idle_loop_pending_check.py refactor(workspace): extract idle-loop pending-check guard for direct unit-testing 2026-05-11 10:49:40 +00:00
test_inbox_uploads.py fix(inbox-uploads): cancel BatchFetcher futures on wait_all timeout 2026-05-05 12:34:41 -07:00
test_inbox.py test(inbox): clean up daemon poller thread to prevent test cross-talk 2026-05-05 11:47:14 -07:00
test_internal_chat_uploads.py
test_internal_file_read.py
test_jsonrpc_wire_role_format.py
test_load_skills_call_sites.py
test_main_initial_prompt.py
test_mcp_cli_multi_workspace.py fix(tests): isolate token resolution from real .auth_token on disk 2026-05-09 21:55:29 +00:00
test_mcp_cli_split.py mcp: surface specific TOKEN_FILE errors + link follow-ups (#2934) 2026-05-05 15:07:15 -07:00
test_mcp_cli.py refactor(workspace): split mcp_cli.py (626 LOC) into focused modules (RFC #2873 iter 3) 2026-05-05 04:33:06 -07:00
test_mcp_doctor.py fix(tests): isolate token resolution from real .auth_token on disk 2026-05-09 21:55:29 +00:00
test_mcp_memory.py fix(tests): patch a2a_tools_memory.httpx, not a2a_tools.httpx 2026-05-05 13:25:06 -07:00
test_memory.py
test_molecule_ai_status.py
test_namespaces.py
test_not_configured_handler.py
test_openclaw_adapter.py
test_platform_auth_signature.py
test_platform_auth.py
test_platform_inbound_auth.py
test_platform_tools.py
test_plugins_builtins.py
test_plugins_registry.py
test_plugins.py
test_pre_stop.py
test_preflight.py
test_prompt.py feat: drop shared_context — use memory v2 team namespace instead 2026-05-04 16:30:26 -07:00
test_routing_policy.py
test_runtime_capabilities.py
test_runtime_wedge_signature.py
test_runtime_wedge.py
test_safe_env.py
test_sandbox.py
test_secret_redact.py fix(tests): patch a2a_tools_memory.httpx, not a2a_tools.httpx 2026-05-05 13:25:06 -07:00
test_secret_redactor.py fix(runtime): redact secret-shaped tokens from JSON-RPC error.data 2026-05-04 15:07:53 -07:00
test_security_scan.py
test_shared_runtime_peer_summary.py
test_skill_loader_signature.py
test_skills_loader.py
test_skills_watcher.py
test_smoke_mode.py
test_snapshot_scrub.py
test_telemetry.py
test_temporal_workflow.py
test_transcript_auth.py tech-debt: rename molecule-monorepo-net -> molecule-core-net 2026-05-09 20:51:48 +00:00
test_watcher.py