headroom/tests/test_integrations/agno
Tejas Chopra f4119c3bc0
test(agno): drop dead module-level Metrics import (#3269)
Main's lint gate is red: `tests/test_integrations/agno/test_model.py:26`
fails ruff F401 (`MessageMetrics as Metrics` imported but unused) after
recent changes left the module-level import dead — `_response_usage()`
already resolves the metrics dataclass locally for both Agno 2.x and 3.x
layouts. This deletes the dead try/except block.

Every open PR inherits this failure through its merge ref (it blocked
#3261's lint check), so this unblocks the queue.

- `ruff check` + `ruff format --check`: clean
- Test file behavior unchanged (the block was unused)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01EWKCmcH47hvvoQ35wftXhE

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-26 14:44:20 +05:30
..
__init__.py Add Agno agent framework integration 2026-01-16 16:02:55 -08:00
test_hooks.py Add Agno agent framework integration 2026-01-16 16:02:55 -08:00
test_model.py test(agno): drop dead module-level Metrics import (#3269) 2026-08-26 14:44:20 +05:30