headroom/tests/test_integrations
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
..
agno test(agno): drop dead module-level Metrics import (#3269) 2026-08-26 14:44:20 +05:30
autogen feat: add CrewAI and AutoGen tool compression integrations (#1384) 2026-07-15 19:58:54 +00:00
crewai feat: add CrewAI and AutoGen tool compression integrations (#1384) 2026-07-15 19:58:54 +00:00
langchain fix(langchain): disable streaming on wrapped model during ainvoke() (#1287) 2026-06-22 22:11:39 -05:00
mcp fix(integrations): filter CCR-dropped sentinel in test iteration 2026-04-27 20:53:29 -07:00
__init__.py Initial commit: Headroom SDK - LLM context optimization toolkit 2026-01-06 23:16:58 -08:00
test_litellm_callback.py fix(litellm): close shared cloud client 2026-08-11 10:13:10 -07:00