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