Commit Graph

20236 Commits (f78933235d1da6c9e57d9d6b2e0d201e1821e16d)

Author SHA1 Message Date
Robert Svensson f78933235d
Use fixtures in deCONZ service tests (#121108)
* Use fixtures in deCONZ service tests

* Update tests/components/deconz/test_services.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 14:23:40 +02:00
Robert Svensson ece8b74967
Use fixtures in deCONZ device trigger tests (#121103) 2024-07-04 14:23:15 +02:00
Robert Svensson 1d8382a498
Use fixtures in deCONZ light tests PT1 (#121112)
Use fixtures in deCONZ light tests part 1
2024-07-04 14:22:10 +02:00
Robert Svensson 873d96bab3
Use fixtures in deCONZ binary sensor tests (#120966) 2024-07-04 14:21:26 +02:00
Robert Svensson 31ed32da6c
Use fixtures in deCONZ alarm control panel tests (#120967) 2024-07-04 14:20:57 +02:00
Erik Montnemery f1d6ad9073
Add test fixture to control recorder migration (#121180)
* Add test fixture to control recorder migration

* Update tests/components/recorder/conftest.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update tests/components/recorder/conftest.py

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-04 13:10:08 +02:00
Erik Montnemery 255778d0c7
Use recorder test fixtures in recorder init tests (#121176) 2024-07-04 04:54:40 -05:00
epenet 3c69301365
Improve type hints in guardian tests (#121175) 2024-07-04 04:53:49 -05:00
J. Nick Koston 67a4c2c884
Add support for event entity motion sensors to HomeKit (#121123) 2024-07-04 04:50:50 -05:00
Robert Svensson d429bcef16
Use fixtures in deCONZ sensor tests PT1 (#121116) 2024-07-04 11:50:23 +02:00
Robert Svensson 02e7707f91
Use fixtures in deCONZ config flow tests PT1 (#121121) 2024-07-04 04:49:46 -05:00
epenet a6f6221f16
Add monkeypatch type hints to numato tests (#121056)
* Add monkeypatch type hints to numato tests

* Adjust

* Improve
2024-07-04 02:33:47 -07:00
epenet 8aedb1201d
Improve type hints in google_pubsub tests (#121172)
* Improve type hints in google_pubsub tests

* Remove from .coveragerc
2024-07-04 02:31:35 -07:00
J. Nick Koston aa74ad0061
Enable ruff asyncio event loop blocking detection rules (#120799) 2024-07-04 04:17:57 -05:00
epenet 43e4223a8e
Improve type hints in google_generative_ai tests (#121170) 2024-07-04 02:09:34 -07:00
epenet cf96084ea3
Improve type hints in generic tests (#121166) 2024-07-04 10:32:00 +02:00
epenet 1eec49696a
Improve type hints in generic_hygrostat/thermostat tests (#121167) 2024-07-04 10:30:17 +02:00
epenet 1f22f0d89b
Improve type hints in google_travel_time tests (#121171) 2024-07-04 10:27:55 +02:00
epenet dd8ba0828a
Improve type hints in geofency tests (#121168) 2024-07-04 10:27:37 +02:00
epenet c9acd1711c
Improve type hints in gpslogger tests (#121173) 2024-07-04 10:23:14 +02:00
epenet 4589be2d11
Improve type hints in group tests (#121174) 2024-07-04 10:22:39 +02:00
Erik Montnemery d55d02623a
Add recorder test fixture to enable persistent SQLite database (#121137)
* Add recorder test fixture to enable persistent SQLite database

* Fix tests directly using async_test_home_assistant context manager
2024-07-04 09:59:37 +02:00
Marcel van der Veldt 24f6e6e885
Fix locking/unlocking transition state in Matter lock platform (#121099) 2024-07-04 09:20:55 +02:00
J. Nick Koston e8ef2c2822
Fix blocking I/O in tts tests (#121143) 2024-07-04 05:21:01 +01:00
J. Nick Koston a4d4fc6827
Fix blocking I/O in stream tests (#121142) 2024-07-04 05:15:26 +01:00
J. Nick Koston 7002042119
Fix blocking I/O in mqtt tests (#121140) 2024-07-04 05:13:13 +01:00
J. Nick Koston c59fc4e3c7
Fix blocking I/O in media_extractor tests (#121139) 2024-07-04 05:08:53 +01:00
Erik Montnemery cc2782edc7
Use async_test_recorder fixture in recorder auto_repairs tests (#121125) 2024-07-04 01:38:01 +02:00
J. Nick Koston 84d8bc711d
Fix blocking I/O in event loop in google_assistant test (#121126)
found by ruff in #120799
2024-07-03 23:35:23 +01:00
J. Nick Koston 595e688c56
Fix blocking I/O in event loop in kira test (#121127) 2024-07-03 23:35:02 +01:00
Erik Montnemery 408e524551
Add recorder test fixture for skipping tests by DB engine (#121118)
* Add recorder test fixture for skipping tests by DB engine

* Fix mistake
2024-07-04 00:02:46 +02:00
epenet 73716ea529
Add monkeypatch type hints to webostv tests (#121054)
* Add monkeypatch type hints to webostv

* Improve
2024-07-03 23:49:31 +03:00
epenet c9240b8e34
Add monkeypatch type hints to switcher_kis tests (#121055)
* Add monkeypatch type hints to switch_kis

* Improve
2024-07-03 23:49:01 +03:00
Jan Bouwhuis 2040c285b1
Remove schema option for mqtt vacuum configs (#121093) 2024-07-03 21:35:20 +02:00
J. Nick Koston 53767b6159
Fix event loop blocking I/O in generic tests (#121100) 2024-07-03 20:24:25 +01:00
J. Nick Koston 4881205831
Fix event loop blocking I/O in command_line tests (#121098) 2024-07-03 14:22:38 -05:00
Erik Montnemery 5029da6919
Make the async_setup_recorder_instance fixture a context manager (#121086) 2024-07-03 14:05:34 -05:00
J. Nick Koston 44c89e6c3b
Cleanup v32 recorder migration test (#121083) 2024-07-03 10:45:19 -05:00
Erik Montnemery 46a488d871
Use async_setup_recorder_instance fixture in recorder auto_repairs tests (#121077) 2024-07-03 17:04:39 +02:00
Paulus Schoutsen 976cb434c9
Add CONTROL supported feature to OpenAI conversation entities (#121064)
Add CONTROL supported feature to OpenAI
2024-07-03 09:19:46 -05:00
epenet 8709c668cc
Remove unused diagnostics fixtures (#121066) 2024-07-03 15:57:02 +02:00
Erik Montnemery 87f7703f3c
Use async_setup_recorder_instance fixture in recorder migration tests (#121050) 2024-07-03 08:56:05 -05:00
Paulus Schoutsen a885bdfe76
Add conversation supported feature CONTROL (#121036) 2024-07-03 14:30:51 +02:00
epenet ac57eb7614
Add monkeypatch type hints to shelly tests (#121057)
* Add monkeypatch type hints to shelly tests

* Improve
2024-07-03 12:08:40 +02:00
epenet 476efb1d36
Improve type hints in home_connect tests (#121014) 2024-07-02 22:19:33 +02:00
Jan-Philipp Benecke 7d31d553d0
Temporarily set apprise log level to debug in tests (#121029)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-02 22:13:19 +02:00
Marcel van der Veldt 52627b9aed
Handle mains power for Matter appliances (#121023) 2024-07-02 21:02:29 +02:00
epenet 592ef59c5a
Use common fixtures in tasmota tests (#121000) 2024-07-02 17:38:20 +02:00
epenet 195f07a18a
Use service_calls fixture in nest tests (#120987) 2024-07-02 08:02:17 -07:00
epenet faf43ed4c7
Adjust Generator type hints in tests (#121013) 2024-07-02 14:12:02 +02:00