From 9be832a23cf18628ddd7d8dc1ea9d0465d9af4e9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 16 Sep 2025 11:51:55 -0500 Subject: [PATCH] fixes --- tests/component_tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/component_tests/conftest.py b/tests/component_tests/conftest.py index 1756e4de14..fe765118ff 100644 --- a/tests/component_tests/conftest.py +++ b/tests/component_tests/conftest.py @@ -18,6 +18,7 @@ from esphome.const import ( PlatformFramework, ) from esphome.types import ConfigType +from esphome.util import OrderedDict # Add package root to python path here = Path(__file__).parent @@ -150,7 +151,6 @@ def mock_clone_or_update() -> Generator[Any]: @pytest.fixture def mock_load_yaml() -> Generator[Any]: """Mock yaml_util.load_yaml for testing.""" - from esphome.util import OrderedDict with mock.patch("esphome.yaml_util.load_yaml") as mock_func: # Default return value