mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +00:00
Bump ruff to 0.9.1 (#135197)
This commit is contained in:
committed by
GitHub
parent
2b51ab1c75
commit
8db63adc11
@@ -1012,9 +1012,9 @@ async def test_media_permission_unauthorized(
|
||||
|
||||
client = await hass_client()
|
||||
response = await client.get(media_url)
|
||||
assert (
|
||||
response.status == HTTPStatus.UNAUTHORIZED
|
||||
), f"Response not matched: {response}"
|
||||
assert response.status == HTTPStatus.UNAUTHORIZED, (
|
||||
f"Response not matched: {response}"
|
||||
)
|
||||
|
||||
|
||||
async def test_multiple_devices(
|
||||
@@ -1306,9 +1306,9 @@ async def test_media_store_load_filesystem_error(
|
||||
response = await client.get(
|
||||
f"/api/nest/event_media/{device.id}/{event_identifier}"
|
||||
)
|
||||
assert (
|
||||
response.status == HTTPStatus.NOT_FOUND
|
||||
), f"Response not matched: {response}"
|
||||
assert response.status == HTTPStatus.NOT_FOUND, (
|
||||
f"Response not matched: {response}"
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(("device_traits", "cache_size"), [(BATTERY_CAMERA_TRAITS, 5)])
|
||||
|
||||
Reference in New Issue
Block a user