odoo_mqtt/iot_bridge/tests/integration
matthias.lotz f5ad4ad7bf Phase 4.2: Add integration tests for reconnect, config push, and event delivery
- Add tests/integration/test_mqtt_reconnect.py with in-memory broker/client fakes
- Add tests/integration/test_config_push_integration.py for POST /config flow and reconnect trigger
- Add tests/integration/test_event_delivery.py for retry queue delivery behavior
- Add httpx dependency required by FastAPI/Starlette TestClient
- Update OPTIMIZATION_PLAN.md to mark 4.2 tasks complete

Validation:
- pytest tests/integration/test_mqtt_reconnect.py tests/integration/test_config_push_integration.py tests/integration/test_event_delivery.py
- mypy tests/integration/test_mqtt_reconnect.py tests/integration/test_config_push_integration.py tests/integration/test_event_delivery.py
2026-02-19 19:17:23 +01:00
..
__init__.py initial version 2026-02-10 20:00:27 +01:00
test_bridge_integration.py Phase 3: Complete type safety & logging unification (3.1-3.2) 2026-02-18 23:54:27 +01:00
test_config_push_integration.py Phase 4.2: Add integration tests for reconnect, config push, and event delivery 2026-02-19 19:17:23 +01:00
test_event_delivery.py Phase 4.2: Add integration tests for reconnect, config push, and event delivery 2026-02-19 19:17:23 +01:00
test_mqtt_reconnect.py Phase 4.2: Add integration tests for reconnect, config push, and event delivery 2026-02-19 19:17:23 +01:00
test_retry_logic.py chore: Apply code quality tools (black, isort, ruff) 2026-02-18 22:20:25 +01:00