Simplify mock_tts_cache_dir_autouse fixture (#123783)

This commit is contained in:
epenet 2024-08-13 18:01:06 +02:00 committed by GitHub
parent 995ed77849
commit ba54a19d4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 11 additions and 20 deletions

View file

@ -20,9 +20,8 @@ from tests.typing import ClientSessionGenerator
@pytest.fixture(autouse=True)
def mock_tts_cache_dir_autouse(mock_tts_cache_dir: Path) -> Path:
def mock_tts_cache_dir_autouse(mock_tts_cache_dir: Path) -> None:
"""Mock the TTS cache dir with empty dir."""
return mock_tts_cache_dir
@pytest.fixture(autouse=True)