From 8920c69d0bc35ed16de804e763adb3b6a32e5bf6 Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Sat, 18 Jul 2026 07:18:08 +0000 Subject: [PATCH] a2a-source-edit: write tests/test_full_stack_contract.py --- tests/test_full_stack_contract.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_full_stack_contract.py b/tests/test_full_stack_contract.py index ee478a4..98e35ee 100644 --- a/tests/test_full_stack_contract.py +++ b/tests/test_full_stack_contract.py @@ -44,8 +44,8 @@ def test_full_stack_product_contract(): migrations = list((ROOT / "db" / "migrations").glob("*.sql")) assert migrations and all(path.read_text(encoding="utf-8").strip() for path in migrations) - agent_cls = load_local_project(ROOT).agent_cls() - card = agent_cls().card() + load_local_project(ROOT) # proves the manifest and entrypoint import cleanly. + card = ContractClockStudioV1().card() skill_names = {skill.name for skill in card.skills} assert {"analyze_contract", "get_contract_deadlines", "analyze_contract_browser_upload", "analyze_contract_file_upload"}.issubset(skill_names) analyze_schema = next(skill.input_schema for skill in card.skills if skill.name == "analyze_contract") @@ -57,7 +57,7 @@ def test_full_stack_product_contract(): assert databases[0].migrations is not None assert databases[0].migrations.path == "db/migrations" assert card.runtime.pricing.caller_pays_llm is False - assert agent_cls.workspace_access.enabled is True + assert ContractClockStudioV1.workspace_access.enabled is True def test_extractor_success_fixture_exact_dates():