Skip external component updates when running logs command (#10756)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-09-21 21:15:49 +00:00
committed by GitHub
co-authored by Jesse Hills pre-commit-ci-lite[bot]
parent fbb48c504f
commit 30bb640c89
10 changed files with 576 additions and 24 deletions
+7
View File
@@ -89,6 +89,13 @@ def mock_run_external_command() -> Generator[Mock, None, None]:
yield mock
@pytest.fixture
def mock_run_git_command() -> Generator[Mock, None, None]:
"""Mock run_git_command for git module."""
with patch("esphome.git.run_git_command") as mock:
yield mock
@pytest.fixture
def mock_get_idedata() -> Generator[Mock, None, None]:
"""Mock get_idedata for platformio_api."""