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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user