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

Code styling tweaks to the tests - Part 1 (#86192)

This commit is contained in:
Franck Nijhof
2023-01-20 13:52:46 +01:00
committed by GitHub
parent 79b52a2b41
commit 24fdd588fd
50 changed files with 552 additions and 251 deletions

View File

@@ -480,8 +480,10 @@ def mock_device_tracker_conf():
devices.append(entity)
with patch(
"homeassistant.components.device_tracker.legacy"
".DeviceTracker.async_update_config",
(
"homeassistant.components.device_tracker.legacy"
".DeviceTracker.async_update_config"
),
side_effect=mock_update_config,
), patch(
"homeassistant.components.device_tracker.legacy.async_load_config",