feat: add command center chat loop widget
This commit is contained in:
@@ -88,7 +88,8 @@ assert data.get('success') is True
|
||||
command = json.load(open('/tmp/casan-cp-local-command.json'))
|
||||
widgets = command.get('data', {}).get('widgets', {})
|
||||
assert command.get('success') is True
|
||||
assert len(widgets) == 8, widgets.keys()
|
||||
assert len(widgets) == 9, widgets.keys()
|
||||
assert 'chat_loop' in widgets, widgets.keys()
|
||||
for widget in widgets.values():
|
||||
envelope = widget.get('envelope', {})
|
||||
assert {'source', 'artifact_path', 'commit', 'run_at', 'verified', 'status'} <= set(envelope), envelope
|
||||
|
||||
Reference in New Issue
Block a user