File size: 687 Bytes
31c8075 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | from arena.backyard_templates import REAL_ESTATE_FOLLOWUP, template_by_label, template_choices
def test_real_estate_template_contains_required_demo_package_files() -> None:
template = REAL_ESTATE_FOLLOWUP
assert template.label in template_choices()
assert "real-estate agent" in template.prompt
assert "English/Vietnamese UI toggle" in template.criteria
assert "handoff_spec.md" in template.checks
assert "field_notes.md" in template.checks
def test_template_lookup_falls_back_to_real_estate_template() -> None:
assert template_by_label("Real Estate Follow-up CRM") == REAL_ESTATE_FOLLOWUP
assert template_by_label("missing") == REAL_ESTATE_FOLLOWUP
|