feat(hub): add fleet distribution policy controls and unblock update checks
CI Test Suite / Run Component Tests & Pipeline Verification (push) Successful in 2m1s

This commit is contained in:
2026-10-04 01:22:42 +02:00
parent 41563a8fb8
commit b069e1c1c0
4 changed files with 22 additions and 47 deletions
+4 -3
View File
@@ -323,11 +323,12 @@ class TestServerLicensingAndWebUI(unittest.TestCase):
conn.commit()
conn.close()
# WebUI should render locked banner and disabled upload controls
# WebUI should render update controls and community status
resp = Server.serve_webui()
html = resp.body.decode("utf-8")
self.assertIn("Fleet Auto-Update is Inactive & Locked", html)
self.assertIn("disabled", html)
self.assertIn("Fleet Distribution & Auto-Update Policy", html)
self.assertIn("COMMUNITY / UNRESTRICTED", html)
self.assertIn("autoUpdateEnabledRadio", html)
def test_json_lic_package_import(self):
"""Verifies importing an activated .lic JSON package via /api/license/import."""