From ecadf6a330a43243821032248c00fa728ea54c46 Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Fri, 26 Jul 2024 09:21:39 +0100 Subject: [PATCH] Log line wrap in Mealie integration (#122635) Log line wrap --- homeassistant/components/mealie/__init__.py | 3 ++- tests/components/mealie/test_init.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/mealie/__init__.py b/homeassistant/components/mealie/__init__.py index df9faf6e540..5c9c91729c0 100644 --- a/homeassistant/components/mealie/__init__.py +++ b/homeassistant/components/mealie/__init__.py @@ -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( diff --git a/tests/components/mealie/test_init.py b/tests/components/mealie/test_init.py index 5c25af5a0a0..a45a67801df 100644 --- a/tests/components/mealie/test_init.py +++ b/tests/components/mealie/test_init.py @@ -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