Merge new implementation of robot ri api with unit tests into dev. #6

Merged
9828273 merged 39 commits from feat/cb2ui-robot-connections into dev 2025-10-28 13:49:41 +00:00
Showing only changes of commit 77c6704632 - Show all commits

View File

@@ -88,7 +88,7 @@ async def test_setup_creates_socket_and_negotiate_1(monkeypatch):
MockCommandAgent.assert_called_once_with(
ANY, # Server Name
ANY, # Server Password
address="tcp://localhost:5556", # derived from the 'port' value in negotiation
address="tcp://*:5556", # derived from the 'port' value in negotiation
bind=True
)
# Ensure the agent attached a ListenBehaviour
@@ -124,7 +124,7 @@ async def test_setup_creates_socket_and_negotiate_2(monkeypatch):
MockCommandAgent.assert_called_once_with(
ANY, # Server Name
ANY, # Server Password
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
address="tcp://*:5557", # derived from the 'port' value in negotiation
bind=True
)
# Ensure the agent attached a ListenBehaviour
@@ -198,7 +198,7 @@ async def test_setup_creates_socket_and_negotiate_4(monkeypatch):
MockCommandAgent.assert_called_once_with(
ANY, # Server Name
ANY, # Server Password
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
address="tcp://*:5557", # derived from the 'port' value in negotiation
bind=True
)
# Ensure the agent attached a ListenBehaviour
@@ -234,7 +234,7 @@ async def test_setup_creates_socket_and_negotiate_5(monkeypatch):
MockCommandAgent.assert_called_once_with(
ANY, # Server Name
ANY, # Server Password
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
address="tcp://*:5557", # derived from the 'port' value in negotiation
bind=True
)
# Ensure the agent attached a ListenBehaviour
@@ -270,7 +270,7 @@ async def test_setup_creates_socket_and_negotiate_6(monkeypatch):
MockCommandAgent.assert_called_once_with(
ANY, # Server Name
ANY, # Server Password
address="tcp://localhost:5557", # derived from the 'port' value in negotiation
address="tcp://*:5557", # derived from the 'port' value in negotiation
bind=True
)
# Ensure the agent attached a ListenBehaviour