fix: restore current channel and host admission organs
This commit is contained in:
parent
88ffb1c97a
commit
f46eb1b7c1
54 changed files with 4499 additions and 8 deletions
|
|
@ -13,7 +13,7 @@ TOPOLOGY = ROOT / 'routing/zhuyuan-host-topology.json'
|
|||
class SharedPersonaContextTest(unittest.TestCase):
|
||||
def load(self, host):
|
||||
value = subprocess.run(
|
||||
[sys.executable, str(LOADER), '--host', host, '--intent', '宿主对齐集成测试', '--format', 'json'],
|
||||
[sys.executable, str(LOADER), '--host', host, '--intent', '宿主对齐集成测试', '--channel', 'ICE-CH-ZC001', '--format', 'json'],
|
||||
text=True, capture_output=True, timeout=45, check=True
|
||||
)
|
||||
return json.loads(value.stdout)
|
||||
|
|
@ -42,6 +42,9 @@ class SharedPersonaContextTest(unittest.TestCase):
|
|||
self.assertEqual(values['qoderwork']['effective_host'], 'qwen')
|
||||
self.assertTrue(values['claude']['history_only'])
|
||||
self.assertFalse(values['claude']['new_cognition_write'])
|
||||
self.assertEqual(values['codex']['light_lake']['registered_persona_count'], 17)
|
||||
self.assertFalse(values['codex']['path_convergence']['history_or_quarantine_may_select_canon'])
|
||||
self.assertEqual(values['codex']['channel_context']['selected_channel']['id'], 'ICE-CH-ZC001')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Reference in a new issue