Robert Svensson
047100069b
Clean up some fixtures not referenced within deCONZ tests ( #122637 )
2024-07-26 11:21:48 +02:00
Robert Svensson
b41b7aeb5b
Remove validation of state==UNAVAILABLE on config entry unload in deCONZ test ( #122558 )
...
Only test remove entry marks entities unavailable in one place
2024-07-26 10:06:58 +02:00
Robert Svensson
9b4cf873c1
Replace ConfigEntry with MockConfigEntry in deCONZ tests ( #122631 )
2024-07-26 09:36:41 +02:00
Robert Svensson
4ee256633b
Deduplicate light data with deCONZ websocket fixture ( #122421 )
2024-07-23 08:40:30 +02:00
Robert Svensson
c61efe931a
Deduplicate more fixture data related to deCONZ websocket sensor ( #122412 )
2024-07-22 21:37:58 +02:00
Robert Svensson
48661054d9
Improve fixture usage for sensor based deCONZ tests ( #122297 )
2024-07-21 13:56:16 +02:00
Robert Svensson
ecffae0b4f
Improve fixture usage for light based deCONZ tests ( #122209 )
2024-07-20 11:25:00 +02:00
Robert Svensson
cce77affc7
Provide default values for common keys in deCONZ websocket fixture ( #121359 )
2024-07-06 10:52:50 +02:00
Robert Svensson
1b8944dab6
Improve deCONZ websocket fixture ( #121332 )
2024-07-05 22:35:06 +02:00
Robert Svensson
7a3039aecb
Use fixtures in deCONZ lock tests ( #120948 )
2024-07-01 19:01:32 +02:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
Robert Svensson
c80f34a754
Add support for ZHADoorLock locks to deCONZ integration( #48516 )
2021-03-31 09:36:06 +02:00
Robert Svensson
a21d0cadf8
Use websocket fixture in deCONZ lock tests ( #47827 )
...
Localize test data
Improve asserts
2021-03-18 11:06:44 +01:00
Robert Svensson
20f45f8ab9
Improve deCONZ tests by using aioclient_mock rather than patching web requests ( #45927 )
...
* Don't patch web requests, use aioclient_mock instead
* Remove stale prints
* Remove tests for old way of loading platforms
* Remove unused imports
2021-02-09 08:31:29 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Robert Svensson
7eb532ddd0
Improve imports in deCONZ tests ( #41976 )
...
* Improve imports in deconz tests
* Add spacing
2020-10-17 11:20:06 -05:00
Robert Svensson
cbb4324c84
Refactor deCONZ tests ( #41362 )
...
* Use hass.config_entries.async_unload
* Return config_entry from setup_deconz_integration
2020-10-06 23:25:57 +02:00
Robert Svensson
552856203b
Clean deCONZ tests to depend less on integration code ( #41015 )
2020-10-02 11:20:33 +02:00
Robert Svensson
9116061262
Add lock support to deCONZ ( #40807 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-10-01 09:50:06 +02:00