feat: single gestures are forwarded properly to ui
ref: N25B-399
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user