Extract instance ID helper from updater (#35043)
This commit is contained in:
1 parent
b3e637ca7a
commit
e54e9279e3
8 files changed
+72
-37
No files matched your search
@@ -37,7 +37,7 @@ def mock_get_newest_version_fixture():
|
||||
@pytest.fixture(name="mock_get_uuid", autouse=True)
|
||||
def mock_get_uuid_fixture():
|
||||
"""Fixture to mock get_uuid."""
|
||||
with patch("homeassistant.components.updater._load_uuid") as mock:
|
||||
with patch("homeassistant.helpers.instance_id.async_get") as mock:
|
||||
yield mock
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user