Maybe fix flaky test (#43690)

This commit is contained in:
Paulus Schoutsen 2020-11-27 12:31:42 +01:00 committed by GitHub
parent bb146680ce
commit 897ff31ffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(