Fix motion blinds formatting ()

This commit is contained in:
Joost Lekkerkerker 2024-03-26 09:57:19 +01:00 committed by GitHub
parent 70c4fa8475
commit ddee999843
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,13 +19,18 @@ def motion_blinds_connect_fixture(enable_bluetooth):
bleak_scanner = AsyncMock()
bleak_scanner.discover.return_value = [device]
with patch(
"homeassistant.components.motionblinds_ble.config_flow.bluetooth.async_scanner_count",
return_value=1,
), patch(
"homeassistant.components.motionblinds_ble.config_flow.bluetooth.async_get_scanner",
return_value=bleak_scanner,
), patch(
"homeassistant.components.motionblinds_ble.async_setup_entry", return_value=True
with (
patch(
"homeassistant.components.motionblinds_ble.config_flow.bluetooth.async_scanner_count",
return_value=1,
),
patch(
"homeassistant.components.motionblinds_ble.config_flow.bluetooth.async_get_scanner",
return_value=bleak_scanner,
),
patch(
"homeassistant.components.motionblinds_ble.async_setup_entry",
return_value=True,
),
):
yield bleak_scanner, device