mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use breaks_in_ha_version in report_usage (#131137)
* Use breaks_in_ha_version in report_usage * Revert behavior change
This commit is contained in:
@@ -1327,7 +1327,7 @@ async def test_hass_components_use_reported(
|
||||
|
||||
reported = (
|
||||
"Detected that custom integration 'test_integration_frame'"
|
||||
" accesses hass.components.http. This is deprecated"
|
||||
" accesses hass.components.http, which should be updated"
|
||||
) in caplog.text
|
||||
assert reported == expected
|
||||
|
||||
@@ -2023,7 +2023,7 @@ async def test_hass_helpers_use_reported(
|
||||
|
||||
reported = (
|
||||
"Detected that custom integration 'test_integration_frame' "
|
||||
"accesses hass.helpers.aiohttp_client. This is deprecated"
|
||||
"accesses hass.helpers.aiohttp_client, which should be updated"
|
||||
) in caplog.text
|
||||
assert reported == expected
|
||||
|
||||
|
||||
Reference in New Issue
Block a user