From 897ff31ffe5dd44c5b22514bbd8fdd262a783111 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 27 Nov 2020 12:31:42 +0100 Subject: [PATCH] Maybe fix flaky test (#43690) --- tests/components/shelly/test_config_flow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/components/shelly/test_config_flow.py b/tests/components/shelly/test_config_flow.py index 1796847bd74..bef018e7d91 100644 --- a/tests/components/shelly/test_config_flow.py +++ b/tests/components/shelly/test_config_flow.py @@ -36,7 +36,7 @@ async def test_form(hass): assert result["type"] == "form" assert result["errors"] == {} - with patch( + with patch("aioshelly.COAP", return_value=Mock(initialize=AsyncMock())), patch( "aioshelly.get_info", return_value={"mac": "test-mac", "type": "SHSW-1", "auth": False}, ), patch(