Summary
Add a minimal pytest that exercises the FAQAdapter sample pattern from docs/templates/suite_template.py to ensure the template stays valid.
Tasks
- Create a new test (e.g.,
tests/test_suite_template_smoke.py).
- Mock a simple agent with
.connect() and .answer() returning the expected string.
- Reuse or inline the dataset/adapters from the template to run one scenario.
- Assert success and that a response is recorded.
Acceptance criteria
- Test passes via
poetry run pytest.
- No new lint issues.
- Keeps dependencies limited to existing test stack.
Summary
Add a minimal pytest that exercises the
FAQAdaptersample pattern fromdocs/templates/suite_template.pyto ensure the template stays valid.Tasks
tests/test_suite_template_smoke.py)..connect()and.answer()returning the expected string.Acceptance criteria
poetry run pytest.