Skip to content

Commit b4ff8cc

Browse files
Antonio ...claude
andcommitted
ci: add aiohttp-cors to test requirements
The integration declares `http` as a manifest dependency; HA's http component imports aiohttp_cors during config-flow tests. It was present in the local venv (installed manually) but not pinned, so fresh CI failed with "No module named 'aiohttp_cors'". Pin it so CI reproduces the green local baseline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 7ff89da commit b4ff8cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎requirements_test.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ pytest
55
pytest-homeassistant-custom-component==0.12.49
66
pytest-asyncio
77
pytest-cov
8+
# Required to set up the `http` dependency declared in manifest.json during
9+
# config-flow tests (HA's http component imports aiohttp_cors). Absent from the
10+
# base test package, so CI fails with "No module named 'aiohttp_cors'" without it.
11+
aiohttp-cors

0 commit comments

Comments
 (0)