Remove licensing repository dependency and standalone submodule proxy from tests and CI
CI Test Suite / Run Component Tests & Pipeline Verification (push) Failing after 1m35s

This commit is contained in:
2026-10-03 20:22:07 +02:00
parent d9bc8df002
commit 303744a3f8
5 changed files with 6 additions and 50 deletions
-11
View File
@@ -11,7 +11,6 @@ from unittest.mock import MagicMock, patch
from src.hub import server_enrollment as enrollment
from src.hub.pki_manager import PKIManager
from src.hub import License_Authority
class TestHubEnrollmentPKIDeep(unittest.TestCase):
@@ -96,16 +95,6 @@ class TestHubEnrollmentPKIDeep(unittest.TestCase):
self.assertEqual(lic_data["format"], "LOGAR_LICENSE_REQUEST")
self.assertIn("csr", lic_data)
def test_license_authority_cli_dispatch(self):
"""Tests License Authority helper and CLI options."""
try:
with patch("sys.argv", ["License_Authority.py", "--help"]):
ret = License_Authority.main()
if ret is not None:
self.assertEqual(ret, 0)
except SystemExit as cm:
self.assertEqual(cm.code, 0)
if __name__ == "__main__":
unittest.main()