Address Blink late review (#102106)
* Address late review topics * Missing await, optimize config_flow call * Address proper mock for blink * Address typing
This commit is contained in:
parent
e151358aa1
commit
9444e1e2ab
7 changed files with 20 additions and 17 deletions
|
@ -271,7 +271,7 @@ async def test_options_flow(hass: HomeAssistant) -> None:
|
|||
mock_auth = AsyncMock(
|
||||
startup=Mock(return_value=True), check_key_required=Mock(return_value=False)
|
||||
)
|
||||
mock_blink = AsyncMock()
|
||||
mock_blink = AsyncMock(cameras=Mock(), sync=Mock())
|
||||
|
||||
with patch("homeassistant.components.blink.Auth", return_value=mock_auth), patch(
|
||||
"homeassistant.components.blink.Blink", return_value=mock_blink
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue