1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Add loader.async_suggest_report_issue and loader.async_get_issue_tracker (#101336)

* Add loader.async_suggest_report_issue and loader.async_get_issue_tracker

* Update tests

* Add tests

* Address review comments

* Address review comments
This commit is contained in:
Erik Montnemery
2023-10-04 13:40:33 +02:00
committed by GitHub
parent 3aa6771835
commit 17779c5f0c
5 changed files with 191 additions and 37 deletions

View File

@@ -776,9 +776,10 @@ async def test_warn_slow_write_state_custom_component(
mock_entity.async_write_ha_state()
assert (
"Updating state for comp_test.test_entity "
"(<class 'custom_components.bla.sensor.test_warn_slow_write_state_custom_component.<locals>.CustomComponentEntity'>) "
"took 10.000 seconds. Please report it to the custom integration author"
"Updating state for comp_test.test_entity (<class 'custom_components.bla.sensor"
".test_warn_slow_write_state_custom_component.<locals>.CustomComponentEntity'>)"
" took 10.000 seconds. Please report it to the author of the 'hue' custom "
"integration"
) in caplog.text