Log line wrap in Mealie integration (#122635)

Log line wrap
This commit is contained in:
Andrew Jackson 2024-07-26 09:21:39 +01:00 committed by GitHub
parent b41b7aeb5b
commit ecadf6a330
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: MealieConfigEntry) -> bo
if not version.valid:
LOGGER.warning(
"It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working"
"It seems like you are using the nightly version of Mealie, nightly"
" versions could have changes that stop this integration working"
)
if version.valid and version < MIN_REQUIRED_MEALIE_VERSION:
raise ConfigEntryError(

View File

@ -98,8 +98,8 @@ async def test_setup_invalid(
await setup_integration(hass, mock_config_entry)
assert (
"It seems like you are using the nightly version of Mealie, nightly versions could have changes that stop this integration working"
in caplog.text
"It seems like you are using the nightly version of Mealie, nightly"
" versions could have changes that stop this integration working" in caplog.text
)
assert mock_config_entry.state is ConfigEntryState.LOADED