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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user