From 704118b3d021434ac69f9d7cf420d073d654efb3 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Fri, 13 Jun 2025 12:53:33 +0200 Subject: [PATCH] Remove unnecessary patch from toon tests (#146691) --- tests/components/toon/test_config_flow.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/components/toon/test_config_flow.py b/tests/components/toon/test_config_flow.py index 1ad5ea1ca3d..affdadd75c2 100644 --- a/tests/components/toon/test_config_flow.py +++ b/tests/components/toon/test_config_flow.py @@ -27,13 +27,12 @@ async def setup_component(hass: HomeAssistant) -> None: {"external_url": "https://example.com"}, ) - with patch("os.path.isfile", return_value=False): - assert await async_setup_component( - hass, - DOMAIN, - {DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}}, - ) - await hass.async_block_till_done() + assert await async_setup_component( + hass, + DOMAIN, + {DOMAIN: {CONF_CLIENT_ID: "client", CONF_CLIENT_SECRET: "secret"}}, + ) + await hass.async_block_till_done() async def test_abort_if_no_configuration(hass: HomeAssistant) -> None: