1
0
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:
epenet
2024-11-23 18:58:24 +01:00
committed by GitHub
parent 50013cf5c7
commit c7485b94d5
14 changed files with 55 additions and 70 deletions

View File

@@ -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