Fix parameterize

This commit is contained in:
Michael Hansen 2023-05-10 12:13:11 -05:00
parent c64ac285e0
commit 28a9ceee3e

View file

@ -89,10 +89,7 @@ async def test_get_tts_audio(hass: HomeAssistant, init_wyoming_tts, snapshot) ->
assert mock_client.written == snapshot
@pytest.mark.parametrize(
"audio_format",
[("wav",), ("raw",)],
)
@pytest.mark.parametrize("audio_format", ("wav", "raw"))
async def test_get_tts_audio_format(
hass: HomeAssistant, init_wyoming_tts, snapshot, audio_format: str
) -> None: