From ecc894400645e726f81e8ad89489e1d25b34901b Mon Sep 17 00:00:00 2001 From: Emil Date: Mon, 3 Aug 2026 16:36:00 +0300 Subject: [PATCH] Drop an unused test helper --- coordinator/internal/agent/setupui/server_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/coordinator/internal/agent/setupui/server_test.go b/coordinator/internal/agent/setupui/server_test.go index 3349e20..d3103e1 100644 --- a/coordinator/internal/agent/setupui/server_test.go +++ b/coordinator/internal/agent/setupui/server_test.go @@ -498,14 +498,6 @@ time=6 level=WARN msg="agent cycle failed" error="boom" } } -func writeVenvStub(t *testing.T, server *Server, version string) string { - t.Helper() - venvPython := filepath.Join(server.dir, "venv", "bin", "python") - _ = os.MkdirAll(filepath.Dir(venvPython), 0o755) - _ = os.WriteFile(venvPython, []byte("#!/bin/sh\nif [ \"$1\" = \"-c\" ]; then echo "+version+"; exit 0; fi\nexit 0\n"), 0o755) - return venvPython -} - func testCheckScimeshVersion(t *testing.T, installed, binary string, wantOK bool, wantDetail string) { t.Helper() old := agent.Version