ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
fix(tests): docker-probe test patches the door, not the removed subprocess import
Juan Denisde454527f5cc
diff --git a/backend/tests/test_probe_honesty_doctor.py b/backend/tests/test_probe_honesty_doctor.pyindex f4c6aa69..ef28aaa7 100644--- a/backend/tests/test_probe_honesty_doctor.py+++ b/backend/tests/test_probe_honesty_doctor.py@@ -343,7 +343,7 @@ def test_docker_probe_exception_is_unknown_not_absent(monkeypatch):monkeypatch.setattr(ips, '_binary_present', lambda name: True)monkeypatch.setattr(- ips.subprocess, 'run',+ ips, 'run_checked',lambda *a, **k: (_ for _ in ()).throw(OSError('exec failed')))assert ips._docker_usable() is None