Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

test(ui): align TTS level ownership assertion

Ruben Lütke625484ee76c2
diff --git a/tests/unit/ui/test_orb_bus_bridge_set_surface.py b/tests/unit/ui/test_orb_bus_bridge_set_surface.py
index 481704e123..47ce2b2427 100644
--- a/tests/unit/ui/test_orb_bus_bridge_set_surface.py
+++ b/tests/unit/ui/test_orb_bus_bridge_set_surface.py
@@ -68,7 +68,7 @@ def test_tts_owns_the_bars_and_suppresses_the_silent_mic():
# the audio is still playing — exactly the bug this guards against).
bridge._note_tts_level(0.6)
bridge._on_mic_level(0.0)
- assert surface.level is None # silent mic must NOT clobber Jarvis's voice
+ assert surface.level == 0.6 # silent mic must NOT clobber Jarvis's voice
# Once TTS has been quiet for a while, the mic drives the bars again.
bridge._last_tts_level_t = time.monotonic() - 1.0