1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Another try to get rid of Shelly flaky test (#43821)

This commit is contained in:
Paulus Schoutsen
2020-12-01 19:26:43 +01:00
committed by GitHub
parent 1faef0a4d4
commit 0ee86ea8e4
2 changed files with 12 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ async def test_form(hass):
assert result["type"] == "form"
assert result["errors"] == {}
with patch("aioshelly.COAP", return_value=Mock(initialize=AsyncMock())), patch(
with patch(
"aioshelly.get_info",
return_value={"mac": "test-mac", "type": "SHSW-1", "auth": False},
), patch(