From be5dc7f04b2e036a3c9ea8e250153a0de039d8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otgaar?= Date: Thu, 6 Nov 2025 14:26:02 +0100 Subject: [PATCH] fix: fixed integration tests due to new change ref: N25B-256 --- test/integration/agents/test_ri_communication_agent.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/agents/test_ri_communication_agent.py b/test/integration/agents/test_ri_communication_agent.py index 33051c8..a82a837 100644 --- a/test/integration/agents/test_ri_communication_agent.py +++ b/test/integration/agents/test_ri_communication_agent.py @@ -428,6 +428,7 @@ async def test_listen_behaviour_ping_correct(caplog): # TODO: Integration test between actual server and password needed for spade agents agent = RICommunicationAgent("test@server", "password") agent._req_socket = fake_socket + agent.connected = True behaviour = agent.ListenBehaviour() agent.add_behaviour(behaviour) @@ -463,6 +464,7 @@ async def test_listen_behaviour_ping_wrong_endpoint(caplog): agent = RICommunicationAgent("test@server", "password", fake_pub_socket) agent._req_socket = fake_socket + agent.connected = True behaviour = agent.ListenBehaviour() agent.add_behaviour(behaviour) @@ -486,6 +488,7 @@ async def test_listen_behaviour_timeout(zmq_context, caplog): agent = RICommunicationAgent("test@server", "password") agent._req_socket = fake_socket + agent.connected = True behaviour = agent.ListenBehaviour() agent.add_behaviour(behaviour) @@ -514,6 +517,7 @@ async def test_listen_behaviour_ping_no_endpoint(caplog): agent = RICommunicationAgent("test@server", "password") agent._req_socket = fake_socket + agent.connected = True behaviour = agent.ListenBehaviour() agent.add_behaviour(behaviour)