mirror of
https://github.com/home-assistant/core.git
synced 2026-12-02 19:57:03 -04:00
Remove redundant caplog DEBUG level in Bosch Smart Camera tests (#195841)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
e406de0644
commit
d3ef5a3655
@@ -3,7 +3,6 @@
|
||||
import base64
|
||||
from http import HTTPStatus
|
||||
import json
|
||||
import logging
|
||||
from unittest.mock import AsyncMock
|
||||
from urllib.parse import parse_qs, urlparse
|
||||
|
||||
@@ -297,7 +296,6 @@ async def test_camera_list_failure_is_logged(
|
||||
caplog: pytest.LogCaptureFixture,
|
||||
) -> None:
|
||||
"""Test the reason of a failed camera list request is logged."""
|
||||
caplog.set_level(logging.DEBUG)
|
||||
mock_list_cameras.side_effect = BoschCameraConnectionError(
|
||||
"Camera list returned HTTP 503", status=503, body="maintenance"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user