Merge branch 'dev' into feat/cb2ri-gestures

This commit is contained in:
Björn Otgaar
2025-12-11 12:46:32 +01:00
22 changed files with 1066 additions and 34 deletions

View File

@@ -354,3 +354,13 @@ async def test_listen_loop_ping_sends_internal(zmq_context):
await agent._listen_loop()
pub_socket.send_multipart.assert_awaited()
@pytest.mark.asyncio
async def test_negotiate_req_socket_none_causes_retry(zmq_context):
agent = RICommunicationAgent("ri_comm")
agent._req_socket = None
result = await agent._negotiate_connection(max_retries=1)
assert result is False