From bd3b1fbf76c779d64d010364311c4af98130bbfe Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Mon, 30 Nov 2026 08:14:44 +0100 Subject: [PATCH] Set up the config entry directly in Google Mail tests (#195452) Co-authored-by: Claude --- tests/components/google_mail/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/google_mail/conftest.py b/tests/components/google_mail/conftest.py index 61704006d6cb..8fe96af0b7a5 100644 --- a/tests/components/google_mail/conftest.py +++ b/tests/components/google_mail/conftest.py @@ -121,7 +121,7 @@ async def mock_setup_integration( ), ), ): - assert await async_setup_component(hass, DOMAIN, {}) + await hass.config_entries.async_setup(config_entry.entry_id) await hass.async_block_till_done() return func