Remove redundant caplog DEBUG level in Bosch Smart Camera tests (#195841)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Joost Lekkerkerker
2026-12-01 16:26:11 +01:00
committed by GitHub
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"
)