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():