1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Remove unnecessary imports of http integration (#141899)

* Remove unnecessary imports of http integration

* Check reason for test failures

* Revert "Check reason for test failures"

This reverts commit 5ccf356ab0.

* Update tests
This commit is contained in:
Erik Montnemery
2025-03-31 12:30:20 +02:00
committed by GitHub
parent c91a1d0fce
commit 86622cd29d
10 changed files with 16 additions and 19 deletions

View File

@@ -852,7 +852,7 @@ def hass_client_no_auth(
@pytest.fixture
def current_request() -> Generator[MagicMock]:
"""Mock current request."""
with patch("homeassistant.components.http.current_request") as mock_request_context:
with patch("homeassistant.helpers.http.current_request") as mock_request_context:
mocked_request = make_mocked_request(
"GET",
"/some/request",