1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-23 13:42:27 +01:00

Add coverage for Path to str fix in #10807 (#10808)

This commit is contained in:
J. Nick Koston
2025-09-21 14:59:19 -06:00
committed by GitHub
parent 4729bc87fa
commit 0432a10543
2 changed files with 134 additions and 0 deletions

View File

@@ -87,3 +87,10 @@ def mock_run_external_command() -> Generator[Mock, None, None]:
"""Mock run_external_command for platformio_api."""
with patch("esphome.platformio_api.run_external_command") as mock:
yield mock
@pytest.fixture
def mock_get_idedata() -> Generator[Mock, None, None]:
"""Mock get_idedata for platformio_api."""
with patch("esphome.platformio_api.get_idedata") as mock:
yield mock