core/tests
J. Nick Koston c615b52840
Refactor integration startup time to show wall clock time (#113707)
* Refactor setup time tracking to exclude time waiting on other operations

We now exclude the import time and th time waiting on
base platforms to setup from the setup times

* tweak

* tweak

* tweak

* tweak

* adjust

* fixes

* fixes

* preen

* preen

* tweak

* tweak

* adjust

* tweak

* reduce

* do not count integrtion platforms against their parent integration

* handle legacy tts platforms

* stt as well

* one more wait

* use the same pattern in all the legacy

* fix tts and stt legacy

* fix

* fix

* reduce

* preen

* entity comp does not wait for platforms

* scene blocks as well

* fix test

* test fixes

* coverage

* coverage

* coverage

* fix test

* Update tests/test_setup.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/test_setup.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/setup.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* strip

* strip WAIT_PLATFORM_INTEGRATION

* strip WAIT_PLATFORM_INTEGRATION

* strip WAIT_PLATFORM_INTEGRATION

* strip WAIT_PLATFORM_INTEGRATION

* remove complexity

* Apply suggestions from code review

* no longer works that way

* fixes

* fixes

* fixes

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-18 21:45:34 -04:00
..
auth Migrate auth to use async_import_module to avoid blocking I/O in the event loop (#113387) 2024-03-14 10:44:36 +01:00
components Refactor integration startup time to show wall clock time (#113707) 2024-03-18 21:45:34 -04:00
fixtures Remove fixtures from global fixtures folder (#113060) 2024-03-11 10:19:54 -04:00
hassfest Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
helpers Add labels to service target (#113753) 2024-03-18 22:32:23 +01:00
pylint Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
resources
scripts Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
snapshots Improve package schema validation (#108125) 2024-02-10 20:16:20 +01:00
test_util Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
testing_config Use `mock_platform` for event entity component tests instead of `hass.components` (#113667) 2024-03-17 17:32:16 +01:00
util Enable Ruff RSE (#113695) 2024-03-18 00:40:38 +01:00
__init__.py
common.py Add category registry (#110897) 2024-03-15 13:25:16 +01:00
conftest.py Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
ignore_uncaught_exceptions.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
patch_time.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
ruff.toml Update ruff to 0.2.1 (#109796) 2024-02-06 15:41:34 +01:00
syrupy.py Add category registry (#110897) 2024-03-15 13:25:16 +01:00
test_bootstrap.py Refactor integration startup time to show wall clock time (#113707) 2024-03-18 21:45:34 -04:00
test_circular_imports.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_config.py Add ruff rule PIE804 (#113620) 2024-03-16 12:45:18 -10:00
test_config_entries.py Create config entry async_on_unload tasks eagerly (#113626) 2024-03-16 14:43:49 -10:00
test_const.py Improve loops and lists (#113269) 2024-03-14 10:22:20 +01:00
test_core.py Replace pylint pointless-statement with ruff B018 (#113582) 2024-03-17 10:58:14 +01:00
test_data_entry_flow.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_exceptions.py Generate HomeAssistantError message from English translations (#113305) 2024-03-16 22:56:48 +01:00
test_loader.py Refactor integration startup time to show wall clock time (#113707) 2024-03-18 21:45:34 -04:00
test_main.py Enable ruff RUF005 and fix occurrences (#113589) 2024-03-16 07:37:20 -10:00
test_requirements.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_runner.py Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
test_setup.py Refactor integration startup time to show wall clock time (#113707) 2024-03-18 21:45:34 -04:00
test_test_fixtures.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00
typing.py Add empty line after module docstring [helpers + other] (#112707) 2024-03-08 10:36:11 -05:00