hass-core/tests/components/websocket_api
J. Nick Koston def6c5c21c
Refactor integration startup time tracking to reduce overhead (#110136)
* Refactor integration startup time tracking to reduce overhead

- Use monotonic time for watching integration startup time as it avoids incorrect values if time moves backwards because of ntp during startup and reduces many time conversions since we want durations in seconds and not local time

- Use loop scheduling instead of a task

- Moves all the dispatcher logic into the new _WatchPendingSetups

* websocket as well

* tweaks

* simplify logic

* preserve logic

* preserve logic

* lint

* adjust
2024-02-17 21:47:55 -05:00
..
__init__.py
conftest.py Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
test_auth.py Bump aiohttp to 3.9.3 (#109025) 2024-01-29 23:15:18 +01:00
test_commands.py Refactor integration startup time tracking to reduce overhead (#110136) 2024-02-17 21:47:55 -05:00
test_connection.py Use builtin TimeoutError [t-z] (#109683) 2024-02-05 12:20:36 +01:00
test_decorators.py Add type hints to integration tests (part 24) (#88307) 2023-02-17 16:34:53 +01:00
test_http.py Use builtin TimeoutError [t-z] (#109683) 2024-02-05 12:20:36 +01:00
test_init.py Bump aiohttp to 3.9.3 (#109025) 2024-01-29 23:15:18 +01:00
test_messages.py Avoid bytes to string to bytes conversion in websocket api (#108139) 2024-01-16 21:37:34 +01:00
test_sensor.py Add type hints to integration tests (part 24) (#88307) 2023-02-17 16:34:53 +01:00