From c7ada1e8f62852c14d98150ce914755a30c30ac4 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Sun, 23 May 2021 02:11:02 +0300 Subject: [PATCH] Fix flaky Shelly config flow test (#50982) --- tests/components/shelly/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/shelly/conftest.py b/tests/components/shelly/conftest.py index 51659cf7736..71157124806 100644 --- a/tests/components/shelly/conftest.py +++ b/tests/components/shelly/conftest.py @@ -66,7 +66,7 @@ MOCK_SHELLY = { @pytest.fixture(autouse=True) def mock_coap(): """Mock out coap.""" - with patch("homeassistant.components.shelly.get_coap_context"): + with patch("homeassistant.components.shelly.utils.get_coap_context"): yield