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
Use the platform's EAI_NONAME in the DNS test
Juan Denis3e63a7f4b7b3
diff --git a/backend/tests/test_fleet_doctor.py b/backend/tests/test_fleet_doctor.pyindex 4388b3c1..cab231cd 100644--- a/backend/tests/test_fleet_doctor.py+++ b/backend/tests/test_fleet_doctor.py@@ -139,7 +139,7 @@ def test_dns_fail_when_unresolved(app, server, monkeypatch):import socketdef _boom(host):- raise socket.gaierror(-2, 'name resolution failure')+ raise socket.gaierror(socket.EAI_NONAME, 'name resolution failure')monkeypatch.setattr(fleet_doctor_service, '_resolve_host_ips', _boom)from app import db