remove ruff
This commit is contained in:
@@ -433,10 +433,12 @@ def test_speak_plain_with_mock_tts(
|
||||
|
||||
asyncio.run(main_module._speak_plain(mock_ctx, "hello world", mock_tts_engine))
|
||||
|
||||
from vibe_bot.config import TTS_SPEED, TTS_VOICE
|
||||
|
||||
mock_tts_engine.generate_audio.assert_called_once_with(
|
||||
"hello world",
|
||||
voice=main_module.TTS_VOICE, # type: ignore[attr-defined]
|
||||
speed=main_module.TTS_SPEED, # type: ignore[attr-defined]
|
||||
voice=TTS_VOICE,
|
||||
speed=TTS_SPEED,
|
||||
)
|
||||
assert mock_ctx.send.call_count >= 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user