test: fix tests

ref: N25B-401
This commit is contained in:
Twirre Meulenbelt
2026-01-27 17:06:13 +01:00
parent 43d81002ec
commit 82aa7c76df
5 changed files with 36 additions and 1 deletions

View File

@@ -26,6 +26,12 @@ def agent():
return agent
@pytest.fixture(autouse=True)
def mock_experiment_logger():
with patch("control_backend.agents.bdi.bdi_core_agent.experiment_logger") as logger:
yield logger
@pytest.mark.asyncio
async def test_setup_loads_asl(mock_agentspeak_env, agent):
# Mock file opening