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): drop /tmp literals from the agentic-ide route fakes (S108)

rubenluetke10-beep87954b4bf457
diff --git a/tests/unit/web/test_agentic_ide_batch_route.py b/tests/unit/web/test_agentic_ide_batch_route.py
index bb132ecf88..533d1880e7 100644
--- a/tests/unit/web/test_agentic_ide_batch_route.py
+++ b/tests/unit/web/test_agentic_ide_batch_route.py
@@ -142,7 +142,7 @@ async def test_no_bus_still_opens_the_panes(
class FakeClosingRegistry:
def __init__(self) -> None:
self.calls: list[list[str]] = []
- self.session = SimpleNamespace(id="ide_test", folder="/tmp/ws")
+ self.session = SimpleNamespace(id="ide_test", folder="ws-folder")
async def close_terminals(self, names: list[str]):
self.calls.append(names)
diff --git a/tests/unit/web/test_agentic_ide_rename_terminal_route.py b/tests/unit/web/test_agentic_ide_rename_terminal_route.py
index 028a0131f5..ce046832fb 100644
--- a/tests/unit/web/test_agentic_ide_rename_terminal_route.py
+++ b/tests/unit/web/test_agentic_ide_rename_terminal_route.py
@@ -56,7 +56,7 @@ class FakeRegistry:
async def test_a_rename_answers_with_both_names(monkeypatch: pytest.MonkeyPatch) -> None:
"""Both, because the caller has UI filed under the OLD one to move across."""
- session = SimpleNamespace(id="ide_test", folder="/tmp/ws", name="alpha")
+ session = SimpleNamespace(id="ide_test", folder="ws-folder", name="alpha")
registry = FakeRegistry(result=(session, _terminal("Frontend")))
monkeypatch.setattr(routes, "get_registry", lambda: registry)
bus = FakeBus()