From 77c6704632b71fa960f02b916b49c9fda2d65aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otgaar?= Date: Wed, 22 Oct 2025 11:12:58 +0200 Subject: [PATCH] fix: unit tests changes to account for address changes ref: N25B-205 --- test/unit/test_ri_communication_agent.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/test_ri_communication_agent.py b/test/unit/test_ri_communication_agent.py index 9cc14f0..c14a6d8 100644 --- a/test/unit/test_ri_communication_agent.py +++ b/test/unit/test_ri_communication_agent.py @@ -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