mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Improve type hints in elevenlabs tests (#123786)
This commit is contained in:
parent
78f7b3340d
commit
e15ac2fbe0
@ -4,7 +4,7 @@ from __future__ import annotations
|
||||
|
||||
from http import HTTPStatus
|
||||
from typing import Any
|
||||
from unittest.mock import AsyncMock, patch
|
||||
from unittest.mock import AsyncMock, MagicMock, patch
|
||||
|
||||
from elevenlabs.core import ApiError
|
||||
from elevenlabs.types import GetVoicesResponse
|
||||
@ -29,7 +29,7 @@ from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def tts_mutagen_mock_fixture_autouse(tts_mutagen_mock):
|
||||
def tts_mutagen_mock_fixture_autouse(tts_mutagen_mock: MagicMock) -> None:
|
||||
"""Mock writing tags."""
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user