[STAGE5] Tool Gateway runtime + hub-tools service
lint / hygiene (pull_request) Failing after 27s
lint / hygiene (push) Failing after 19s
standard / check (push) Successful in 8s
standard / check (pull_request) Successful in 7s

This commit is contained in:
architect committed 2026-11-27 21:13:08 +03:00
1 parent 649386f0b8
commit 7735ddff28
4 files changed
+135 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import sys, unittest
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from tool_gateway_server import tools
class GatewayServerTests(unittest.TestCase):
def test_policy_loads(self):
t = tools()
self.assertIn("catalog.read", t)
self.assertEqual(t["catalog.read"]["mode"], "read")
self.assertTrue(t["notify.send"]["approval"])
if __name__ == "__main__":
unittest.main()