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(tests): silence the credential-shaped fixture in the isolation test

Haraldea731efafecc
diff --git a/tests/unit/mcp/test_env_isolation.py b/tests/unit/mcp/test_env_isolation.py
index 6ad9fe612a..f7bf6eab89 100644
--- a/tests/unit/mcp/test_env_isolation.py
+++ b/tests/unit/mcp/test_env_isolation.py
@@ -52,7 +52,7 @@ def test_the_process_can_still_start(machine: None) -> None:
def test_the_plugin_still_gets_its_own_token(machine: None) -> None:
env = isolated_environment({"TODOFOX_TOKEN": "tfx_this_plugins_own"})
- assert env["TODOFOX_TOKEN"] == "tfx_this_plugins_own"
+ assert env["TODOFOX_TOKEN"] == "tfx_this_plugins_own" # noqa: S105 - fixture
assert "OPENAI_API_KEY" not in env
@@ -87,7 +87,7 @@ def test_the_client_actually_honours_the_flag(machine: None) -> None:
isolated = build(True)
assert "OPENAI_API_KEY" not in isolated
- assert isolated["TODOFOX_TOKEN"] == "tfx_own"
+ assert isolated["TODOFOX_TOKEN"] == "tfx_own" # noqa: S105 - fixture
# The default is unchanged: the user's own servers still see everything.
assert build(False)["OPENAI_API_KEY"] == SECRETS["OPENAI_API_KEY"]