mirror of
https://github.com/esphome/esphome.git
synced 2025-09-22 21:22:22 +01:00
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:
@@ -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."""
|
||||
|
Reference in New Issue
Block a user