Files
Timmy-time-dashboard/tests
kimi fb6fd4e4f7
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
test: Add unit tests for src/timmy_serve/voice_tts.py
Adds comprehensive unit tests for VoiceTTS class:
- __init__ with pyttsx3 import failure (mocked)
- speak() when not available (skips gracefully)
- set_rate() and set_volume() property updates
- get_voices() when engine is None
- set_voice() with/without engine
- available property behavior

All tests mock pyttsx3 so they run without audio hardware.

Fixes #768
2026-03-21 17:56:11 -04:00
..
2026-03-11 16:55:27 -04:00
2026-03-11 16:55:27 -04:00