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.

chore(i18n): translate committed German to English in tests/contract tool+vision+ws tests

Ruben Lütked829f1fd713d
diff --git a/tests/contract/test_tool_protocol.py b/tests/contract/test_tool_protocol.py
index d431cb3f7d..d669ab6f70 100644
--- a/tests/contract/test_tool_protocol.py
+++ b/tests/contract/test_tool_protocol.py
@@ -1,4 +1,4 @@
-"""Contract-Tests: alle 5 Phase-2-Tools erfüllen strukturell das Tool-Protocol."""
+"""Contract tests: all 5 Phase-2 tools structurally satisfy the tool protocol."""
from __future__ import annotations
import inspect
diff --git a/tests/contract/test_vision_source_protocol.py b/tests/contract/test_vision_source_protocol.py
index 81b44431e0..ff9467706f 100644
--- a/tests/contract/test_vision_source_protocol.py
+++ b/tests/contract/test_vision_source_protocol.py
@@ -1,8 +1,8 @@
-"""Contract-Tests — jede VisionSource-Implementierung erfuellt das Protocol.
+"""Contract tests — every VisionSource implementation satisfies the protocol.
-Phase 5 hat zum Start nur `FakeVisionSource`; produktive Sources
-(ScreenshotSource, UIATreeSource, CompositeVisionEngine) werden von
-Task 5.1-A geliefert und hier in die `SOURCES`-Liste eingetragen.
+Phase 5 starts with only `FakeVisionSource`; production sources
+(ScreenshotSource, UIATreeSource, CompositeVisionEngine) are delivered by
+Task 5.1-A and get registered in the `SOURCES` list here.
"""
from __future__ import annotations
@@ -17,7 +17,7 @@ from tests.fixtures.vision.fake_vision import FakeVisionSource
def _get_sources() -> list[VisionSource]:
sources: list[VisionSource] = [FakeVisionSource()]
- # produktive Sources sind optional solange 5.1-A nicht gelaufen ist
+ # production sources are optional until 5.1-A has run
with contextlib.suppress(Exception):
from jarvis.vision.screenshot import ScreenshotSource # type: ignore[attr-defined]
sources.append(ScreenshotSource())
@@ -38,7 +38,7 @@ def test_vision_source_has_required_attrs(source):
@pytest.mark.parametrize("source", _get_sources(), ids=lambda s: s.name)
def test_vision_source_structurally_matches_protocol(source):
assert isinstance(source, VisionSource), (
- f"{source.name} erfuellt das VisionSource-Protocol nicht"
+ f"{source.name} does not satisfy the VisionSource protocol"
)
diff --git a/tests/contract/test_ws_schema.py b/tests/contract/test_ws_schema.py
index 213fc56637..a6b84921b1 100644
--- a/tests/contract/test_ws_schema.py
+++ b/tests/contract/test_ws_schema.py
@@ -1,8 +1,8 @@
-"""Contract-Test für das WebSocket-Wire-Schema.
+"""Contract test for the WebSocket wire schema.
-Sichert ab, dass der WSMessageIn/WSCommand-Discriminator im Backend dasselbe
-Format versteht, das das Frontend über `src/schema/ws.ts` sendet. Der Test
-nutzt realistische JSON-Payloads wie sie aus `useWebSocket.ts` kommen würden.
+Ensures the WSMessageIn/WSCommand discriminator in the backend understands
+the same format the frontend sends via `src/schema/ws.ts`. The test uses
+realistic JSON payloads like the ones that would come from `useWebSocket.ts`.
"""
from __future__ import annotations