Extract instance ID helper from updater (#35043)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-05-04 11:23:12 -07:00
1 parent b3e637ca7a
commit e54e9279e3
8 files changed
+72 -37

No files matched your search

+1 -1
View File
@@ -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