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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user