mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-30 01:41:43 +00:00
test: add HA integration tests with fake in-process server
Fake HA server (aiohttp.web) simulates full API surface over real TCP: - WebSocket auth handshake + event push - REST endpoints (states, services, notifications) 14 integration tests verify end-to-end flows without mocks: - WS connect/auth/subscribe/event-forwarding/disconnect - REST list/get/call-service against fake server - send() notification delivery and auth failure - 401/500 error handling
This commit is contained in:
parent
c36b256de5
commit
b32c642af3
3 changed files with 629 additions and 0 deletions
0
tests/fakes/__init__.py
Normal file
0
tests/fakes/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue