core/homeassistant/components/knx
Matthias Alphart e8d7952880
Refactor KNX tests (#53183)
* refactor tests for KNX

- implement KNXTestKit class for convenient setup and assertion of KNX telegrams
- add fixture returning an instance of KNXTestKit with automatic cleanup test

* add tests for expose default attribute

- fix expose edge case not covered by #53046

* use asyncio.Queue instead of AsyncMock.call_args_list

for better readability

* get xknx from Mock instead of hass.data

* fix type annotations

* add injection methods for incoming telegrams

* rest read-response in expose
2021-07-19 23:39:19 -05:00
..
__init__.py Upgrade pyupgrade to 2.21.2, apply its changes (#52987) 2021-07-19 10:46:09 +02:00
binary_sensor.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
climate.py Pylint 2.9.3 (#52972) 2021-07-14 21:44:57 -07:00
const.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
cover.py Cleanup KNX supported_features for climate, cover and fan (#52218) 2021-06-28 20:22:44 +02:00
expose.py Refactor KNX tests (#53183) 2021-07-19 23:39:19 -05:00
fan.py Fix KNX Fan features (#52732) 2021-07-08 15:05:43 +02:00
knx_entity.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
light.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
manifest.json xknx 0.18.8 (#52340) 2021-06-30 15:06:33 +02:00
notify.py
number.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
scene.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
schema.py Add respond_to_read option to KNX switch (#51790) 2021-06-27 18:34:41 +02:00
select.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
sensor.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00
services.yaml
switch.py Add respond_to_read option to KNX switch (#51790) 2021-06-27 18:34:41 +02:00
weather.py Cleanup KNX integration (#52168) 2021-06-26 14:30:36 +02:00