core/tests/components/broadlink
J. Nick Koston 4f18f0d902
Fix setup timings when config entry platform loads are not awaited (#113959)
* Move setup time logging into the context manager

We were fetching the time twice but since the context
manager already has the timing, move it there

* remove log setup assertions from integration test

* tweak logging to give us better data for tracking issues

* redundant

* adjust

* preen

* fixes

* adjust

* make api change internal so nobody uses it

* coverage

* fix test

* fix more tests

* coverage

* more tests assuming internal calls

* fix more

* adjust

* adjust

* fix axis tests

* fix broadlink -- it does not call async_forward_entry_setup

* missed some

* remove useless patch

* rename, detect it both ways

* clear

* debug

* try to fix

* handle phase finishing out while paused

* where its set does not need to know its late as that is an implemenation detail of setup

* where its set does not need to know its late as that is an implemenation detail of setup

* tweak

* simplify

* reduce complexity

* revert order change as it makes review harder

* revert naming changes as it makes review harder

* improve comment

* improve debug

* late dispatch test

* test the other way as well

* Update setup.py

* Update setup.py

* Update setup.py

* simplify

* reduce
2024-03-23 15:26:38 -04:00
..
__init__.py Add empty line after module docstring (3) (#112750) 2024-03-08 20:38:34 +01:00
conftest.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_config_flow.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_device.py Fix setup timings when config entry platform loads are not awaited (#113959) 2024-03-23 15:26:38 -04:00
test_heartbeat.py Replace periodic tasks with background tasks (#112726) 2024-03-08 21:45:10 -05:00
test_helpers.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_remote.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_sensors.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00
test_switch.py Add empty line after module docstring [tests a-e] (#112708) 2024-03-08 08:50:25 -05:00