feat: single gestures are forwarded properly to ui

ref: N25B-399
This commit is contained in:
JobvAlewijk
2025-12-29 19:23:10 +01:00
parent 8cfd59c14b
commit 3571bd614f
5 changed files with 180 additions and 270 deletions

View File

@@ -61,15 +61,18 @@ async def test_setup_success_connects_and_starts_robot(zmq_context):
fake_socket.send_json.assert_any_call({"endpoint": "negotiate/ports", "data": {}})
MockSpeech.return_value.start.assert_awaited_once()
MockGesture.return_value.start.assert_awaited_once()
MockSpeech.assert_called_once_with(ANY, address="tcp://localhost:5556", bind=False)
MockGesture.assert_called_once_with(
ANY,
address="tcp://localhost:5556",
bind=False,
gesture_data=[],
gesture_tags=[],
gesture_basic=[],
gesture_single=[],
)
agent.add_behavior.assert_called_once()
agent.add_behavior.assert_called_once()
assert agent.connected is True