diff --git a/tests/test_a4_adapter_contract.py b/tests/test_a4_adapter_contract.py index 1003284..c5756b3 100644 --- a/tests/test_a4_adapter_contract.py +++ b/tests/test_a4_adapter_contract.py @@ -209,12 +209,12 @@ def test_purge_artifacts_composite(tmp_path): # 1. Claude claude_adapter = get_adapter('claude') claude_ctx = DiscoveryContext(workspace=ws, agent_name='claude', home_dir=home) - c_path = claude_adapter.artifact_path('uuid-c', claude_ctx) + c_path = claude_adapter.artifact_path('0c1a5f3e-6b2d-4c8e-9a7f-1d2e3f4a5b6c', claude_ctx) os.makedirs(os.path.dirname(c_path), exist_ok=True) with open(c_path, 'w') as f: - f.write('{"sessionId": "uuid-c"}') + f.write('{"sessionId": "0c1a5f3e-6b2d-4c8e-9a7f-1d2e3f4a5b6c"}') assert os.path.exists(c_path) - purged_c = claude_adapter.purge_artifacts('uuid-c', claude_ctx) + purged_c = claude_adapter.purge_artifacts('0c1a5f3e-6b2d-4c8e-9a7f-1d2e3f4a5b6c', claude_ctx) assert len(purged_c) == 1 assert not os.path.exists(c_path)