From 0c79d7db945c625163744aa3fb852183eea7da90 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Tue, 20 Oct 2026 14:34:20 +0200 Subject: [PATCH] Tests: loopback.py is the one allowed opener for this computer's own servers --- tests/terminal/test_no_acquisition.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/terminal/test_no_acquisition.py b/tests/terminal/test_no_acquisition.py index b4590055..09b7d178 100644 --- a/tests/terminal/test_no_acquisition.py +++ b/tests/terminal/test_no_acquisition.py @@ -46,6 +46,7 @@ NETWORK_ALLOWED = { ("serve/mcp.py", "urlopen"): "the MCP servers the user configured, at request time", ("strata_control/tune_api.py", "urlopen"): "the loopback engine/server of a tuning job the user started", ("strata_control/tune_session.py", "urlopen"): "the loopback engine (127.0.0.1) the auto-tuner a user started measures", + ("strata_control/loopback.py", "urlopen"): "the one opener for this computer's own servers (no proxy); any other address is passed on unchanged", ("strata_control/components.py", "urlopen"): "the component fetcher: only `strata install`/UPDATE call it", } #: Modules that import the installer on purpose, with the explicit command that reaches them.