mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Update script/helpers.py to use ESPHome YAML parser for integration fixtures (#9544)
This commit is contained in:
@@ -986,8 +986,7 @@ def test_get_components_from_integration_fixtures() -> None:
|
||||
|
||||
with (
|
||||
patch("pathlib.Path.glob") as mock_glob,
|
||||
patch("builtins.open", create=True),
|
||||
patch("yaml.safe_load", return_value=yaml_content),
|
||||
patch("esphome.yaml_util.load_yaml", return_value=yaml_content),
|
||||
):
|
||||
mock_glob.return_value = [mock_yaml_file]
|
||||
|
||||
|
Reference in New Issue
Block a user