From c4e079c64eccfe4791a2a21002b94c4ecc8cd454 Mon Sep 17 00:00:00 2001 From: Hasan Basbunar Date: Thu, 24 Sep 2026 19:10:08 +0200 Subject: [PATCH] tests: three unused imports Co-Authored-By: Claude Opus 5.5 (1M context) --- tests/test_dashboard_installers_refuse_root.py | 1 - tests/test_install_draft_pins_kept.py | 1 - tests/test_run_engine_bind.py | 1 - 3 files changed, 3 deletions(-) diff --git a/tests/test_dashboard_installers_refuse_root.py b/tests/test_dashboard_installers_refuse_root.py index a050ee5e..bd3795a3 100644 --- a/tests/test_dashboard_installers_refuse_root.py +++ b/tests/test_dashboard_installers_refuse_root.py @@ -6,7 +6,6 @@ and kept the unit's bind, and install-agent.sh ran opencode as root, so every to of the Agent tab ran as root (found in review, 2026-09-24). Root is faked by an `id` on PATH, as in test_install_root_refusal.py; sudo, systemctl and visudo are stubs that record and refuse, so even a script with no refusal cannot change anything here.""" -import os import pathlib import shutil import subprocess diff --git a/tests/test_install_draft_pins_kept.py b/tests/test_install_draft_pins_kept.py index ea326e21..5ae42242 100644 --- a/tests/test_install_draft_pins_kept.py +++ b/tests/test_install_draft_pins_kept.py @@ -6,7 +6,6 @@ convergence was skipped and the other three fell back to the defaults: DRAFT2_TO box serving the BF16 draft (the documented rollback) moved it to the NVFP4 draft without a word (found in review, 2026-09-24). The revision and the quantization belong to the repo, so they follow the unit only together with its repo. This runs install.sh's own block.""" -import os import pathlib import re import subprocess diff --git a/tests/test_run_engine_bind.py b/tests/test_run_engine_bind.py index 5fda6279..8334ddba 100644 --- a/tests/test_run_engine_bind.py +++ b/tests/test_run_engine_bind.py @@ -7,7 +7,6 @@ was open to anyone on the network holding the key, while SECURITY.md said it is the network at all (found in review, 2026-09-24). This runs the real run.sh in a throwaway HOME, with docker, systemctl, ss and nvidia-smi replaced by stubs, and reads the `docker run` it execs.""" -import os import pathlib import re import shutil