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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
chore(i18n): translate committed German to English in tests/contract scheduled_task+single_instance+skill_schema tests
Ruben Lütke104fc6fd6e36
diff --git a/tests/contract/test_scheduled_task_schema.py b/tests/contract/test_scheduled_task_schema.pyindex 1f155b6203..bba10721e2 100644--- a/tests/contract/test_scheduled_task_schema.py+++ b/tests/contract/test_scheduled_task_schema.py@@ -1,8 +1,8 @@-"""Contract-Tests fuer TaskSpec + Trigger + Action (Phase 5 Capability 4).+"""Contract tests for TaskSpec + Trigger + Action (Phase 5 Capability 4).-Mandat-DoD: 'Sag mir in 30 Sekunden Hallo' muss als TaskSpec darstellbar-sein. Trigger-Scope ist auf `after_delay`, `at_time`, `on_event`-beschraenkt — kein Cron (ADR-0003 / User-§8.3).+Mandate DoD: 'Tell me hello in 30 seconds' must be representable as a+TaskSpec. Trigger scope is limited to `after_delay`, `at_time`, `on_event`+— no cron (ADR-0003 / User-§8.3)."""from __future__ import annotations@@ -31,7 +31,7 @@ def test_trigger_types_scope():def test_mandate_example_in_30s_hallo():- """Wort-fuer-Wort DoD-Example aus dem Mandat: 'Sag mir in 30 Sekunden Hallo'."""+ """DoD example straight from the mandate: 'Tell me hello in 30 seconds'."""spec = TaskSpec(title="Sag Hallo in 30s",trigger=TriggerAfterDelay(delay_seconds=30.0),@@ -71,7 +71,7 @@ def test_on_event_trigger_with_filter_expr():def test_rejects_cron_trigger():- """Es gibt bewusst KEINEN Cron-Trigger. Falsche Nutzung muss failen."""+ """There is deliberately NO cron trigger. Incorrect usage must fail."""adapter = TypeAdapter(TaskSpec)with pytest.raises(ValidationError):adapter.validate_python({diff --git a/tests/contract/test_single_instance.py b/tests/contract/test_single_instance.pyindex a8100672cb..abee7f9e1c 100644--- a/tests/contract/test_single_instance.py+++ b/tests/contract/test_single_instance.py@@ -1,8 +1,8 @@-"""Contract-Test für `acquire_single_instance_lock`.+"""Contract test for `acquire_single_instance_lock`.-Verwendet isolierte Temp-Paths damit parallele Testläufe sich nicht gegenseitig-blockieren — die Prod-Paths liegen unter `DATA_DIR` und sind für echte Jarvis--Instanzen reserviert.+Uses isolated temp paths so parallel test runs don't block each other —+the prod paths live under `DATA_DIR` and are reserved for real Jarvis+instances."""from __future__ import annotations@@ -37,7 +37,7 @@ def test_second_claim_raises_when_first_alive(tmp_path) -> None:first = acquire_single_instance_lock(timeout=0.0, lock_path=lock_file, meta_path=meta_file)- # Meta-File mit unserem PID schreiben (unser Prozess ist garantiert alive)+ # Write the meta file with our PID (our process is guaranteed to be alive)meta_file.write_text(json.dumps({"pid": os.getpid(), "port": 47821, "started_at": 0}),encoding="utf-8",@@ -154,12 +154,12 @@ def test_live_self_pid_holder_is_never_terminated(tmp_path) -> None:def test_stale_lock_is_reclaimed(tmp_path) -> None:- """Wenn der PID im Meta-File tot ist, darf ein neuer Prozess übernehmen."""+ """If the PID in the meta file is dead, a new process may take over."""lock_file = tmp_path / "jarvis.lock"meta_file = tmp_path / ".jarvis-running"- # Simuliere stale lock: Meta-File mit garantiert-toter PID (0).- # (filelock allein genügt hier nicht — wir müssen es auch belegt simulieren.)+ # Simulate a stale lock: meta file with a guaranteed-dead PID (0).+ # (filelock alone isn't enough here — we also need to simulate it as held.)from filelock import FileLockstale = FileLock(str(lock_file))@@ -168,12 +168,12 @@ def test_stale_lock_is_reclaimed(tmp_path) -> None:json.dumps({"pid": 0, "port": 47821, "started_at": 0}), encoding="utf-8")- # Lock wieder freigeben, damit die Stale-Detection greifen kann.- # (Prod-Fall wäre: gestorbener Halter hat Lock gehalten und Kernel gibt- # es frei — im Test simulieren wir mit manuellem release.)+ # Release the lock again, so the stale detection can kick in.+ # (The prod case would be: a dead holder held the lock and the kernel+ # frees it — in the test we simulate this with a manual release.)stale.release()- # Neuer Claim muss durchkommen (PID 0 ist nie ein echter User-Prozess).+ # A new claim must go through (PID 0 is never a real user process).fresh = acquire_single_instance_lock(timeout=0.0, lock_path=lock_file, meta_path=meta_file)diff --git a/tests/contract/test_skill_schema.py b/tests/contract/test_skill_schema.pyindex 1640506ff9..44ef1fdcc9 100644--- a/tests/contract/test_skill_schema.py+++ b/tests/contract/test_skill_schema.py@@ -1,4 +1,4 @@-"""Contract-Tests für das Skill-Frontmatter-Schema (pydantic)."""+"""Contract tests for the Skill frontmatter schema (pydantic)."""from __future__ import annotationsimport pytest