mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Add ability to set HA breaking version in report_usage (#130858)
* Add ability to set breaking version in report_usage * Adjust tests * Adjust test * Adjust tests * Rename breaks_in_version => breaks_in_ha_version
This commit is contained in:
@@ -286,8 +286,8 @@ async def test_warning_close_session_integration(
|
||||
await session.close()
|
||||
assert (
|
||||
"Detected that integration 'hue' closes the Home Assistant aiohttp session at "
|
||||
"homeassistant/components/hue/light.py, line 23: await session.close(), "
|
||||
"please create a bug report at https://github.com/home-assistant/core/issues?"
|
||||
"homeassistant/components/hue/light.py, line 23: await session.close(). "
|
||||
"Please create a bug report at https://github.com/home-assistant/core/issues?"
|
||||
"q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+hue%22"
|
||||
) in caplog.text
|
||||
|
||||
@@ -330,8 +330,8 @@ async def test_warning_close_session_custom(
|
||||
await session.close()
|
||||
assert (
|
||||
"Detected that custom integration 'hue' closes the Home Assistant aiohttp "
|
||||
"session at custom_components/hue/light.py, line 23: await session.close(), "
|
||||
"please report it to the author of the 'hue' custom integration"
|
||||
"session at custom_components/hue/light.py, line 23: await session.close(). "
|
||||
"Please report it to the author of the 'hue' custom integration"
|
||||
) in caplog.text
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user