feat(deploy): register normalized identity transition
This commit is contained in:
@@ -147,15 +147,15 @@ class EngineNodeIntelligenceTest(unittest.TestCase):
|
||||
)
|
||||
self.assertEqual(actual, descriptor)
|
||||
|
||||
def test_gateway_accepts_registered_0_10_and_rejects_unknown_successors(self):
|
||||
def test_gateway_accepts_registered_0_11_and_rejects_unknown_successors(self):
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
payload, descriptor = self.make_activation_payload(Path(directory))
|
||||
gateway = payload / RUNNER.ENGINE_NODE_INTELLIGENCE_GATEWAY_REL
|
||||
gateway_text = gateway.read_text(encoding="utf-8")
|
||||
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.10.0'", gateway_text)
|
||||
self.assertIn("const ENGINE_AGENT_MCP_VERSION = '0.11.0'", gateway_text)
|
||||
gateway.write_text(
|
||||
gateway_text.replace(
|
||||
"const ENGINE_AGENT_MCP_VERSION = '0.10.0'",
|
||||
"const ENGINE_AGENT_MCP_VERSION = '0.11.0'",
|
||||
"const ENGINE_AGENT_MCP_VERSION = '9.9.9'",
|
||||
),
|
||||
encoding="utf-8",
|
||||
|
||||
Reference in New Issue
Block a user