core/tests/components/smartthings
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
conftest.py Add empty line after module docstring (2) [tests.components] (#112737) 2024-03-08 19:16:21 +01:00
test_binary_sensor.py
test_climate.py
test_config_flow.py
test_cover.py
test_fan.py
test_init.py Fix setup timings when config entry platform loads are not awaited (#113959) 2024-03-23 15:26:38 -04:00
test_light.py Run service call tasks eagerly (#112791) 2024-03-08 20:37:21 -10:00
test_lock.py Add empty line after module docstring [tests q-s] (#112711) 2024-03-08 14:47:22 +01:00
test_scene.py
test_sensor.py
test_smartapp.py
test_switch.py