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.

style(tests): trim over-long fixture comment lines in the interim-ack tests

Ruben Lütke5c353ce9272b
diff --git a/tests/unit/brain/test_tool_ack_emitter.py b/tests/unit/brain/test_tool_ack_emitter.py
index 4baefe0381..6eff761874 100644
--- a/tests/unit/brain/test_tool_ack_emitter.py
+++ b/tests/unit/brain/test_tool_ack_emitter.py
@@ -262,7 +262,7 @@ async def test_contextual_line_is_composed_from_the_turn() -> None:
the composer receives the user's request + the concrete action as facts."""
bus = _RecordingBus()
stub = _make_stub(bus=bus)
- composer = _FakeComposer("Ich grabe gerade durch die GitHub-Profile.") # i18n-allow: German TTS fixture
+ composer = _FakeComposer("Ich grabe gerade durch die Profile.") # i18n-allow: German fixture
stub._readback_composer = composer
emit = stub._build_tool_ack_emitter("Wo liegt das PrimeRandat-Repo?")
@@ -272,7 +272,7 @@ async def test_contextual_line_is_composed_from_the_turn() -> None:
preambles = _preambles(bus)
assert len(preambles) == 1
- assert preambles[0].text == "Ich grabe gerade durch die GitHub-Profile." # i18n-allow: German TTS fixture
+ assert preambles[0].text == "Ich grabe gerade durch die Profile." # i18n-allow: German fixture
call = composer.calls[0]
assert call["in_progress"] is True
assert "PrimeRandat" in call["facts"]["user_request"]
diff --git a/tests/unit/speech/test_interim_ack_gates.py b/tests/unit/speech/test_interim_ack_gates.py
index 86dd0d1e38..56a5f3b2cd 100644
--- a/tests/unit/speech/test_interim_ack_gates.py
+++ b/tests/unit/speech/test_interim_ack_gates.py
@@ -186,7 +186,7 @@ async def test_rate_limit_caps_preambles_per_minute() -> None:
_make_pipeline(tts, bus, player, rate_limit_per_min=3)
for i in range(5):
- await bus.publish(_preamble(f"Zwischenmeldung Nummer {i}.")) # i18n-allow: German TTS fixture
+ await bus.publish(_preamble(f"Meldung Nummer {i}.")) # i18n-allow: German fixture
assert player.plays == 3, "the rate-limit backstop did not cap the loop"
@@ -199,7 +199,7 @@ async def test_rate_limit_zero_disables_the_backstop() -> None:
_make_pipeline(tts, bus, player, rate_limit_per_min=0)
for i in range(5):
- await bus.publish(_preamble(f"Zwischenmeldung Nummer {i}.")) # i18n-allow: German TTS fixture
+ await bus.publish(_preamble(f"Meldung Nummer {i}.")) # i18n-allow: German fixture
assert player.plays == 5