From 6ee7e85dce228c8db2036ff1677dbf68b0646bbc Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 4 Jul 2026 08:51:00 +0000 Subject: [PATCH] test: track the recommender's unified simulation module in the conftest mock list The expert_op4grid_recommender R4 refactor merged the grid2op/pypowsybl simulation helpers into a single backend-agnostic utils.simulation module and deleted utils.simulation_pypowsybl. Update the backend test conftest's mock-module list to reference utils.simulation so the mock layer stays accurate; no production Co-Study code imports either module, so the integration is otherwise unchanged (verified against the real recommender). Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_014npyG1CZHF5LxRL8sa39op Signed-off-by: Claude --- expert_backend/tests/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/expert_backend/tests/conftest.py b/expert_backend/tests/conftest.py index b59ef364..fdd2999e 100644 --- a/expert_backend/tests/conftest.py +++ b/expert_backend/tests/conftest.py @@ -41,7 +41,10 @@ "expert_op4grid_recommender.action_evaluation", "expert_op4grid_recommender.action_evaluation.classifier", "expert_op4grid_recommender.environment_pypowsybl", - "expert_op4grid_recommender.utils.simulation_pypowsybl", + # utils.simulation is the single backend-agnostic simulation module since the + # recommender's R4 refactor unified the grid2op/pypowsybl pair (the old + # utils.simulation_pypowsybl was deleted). + "expert_op4grid_recommender.utils.simulation", "expert_op4grid_recommender.environment", "expert_op4grid_recommender.pypowsybl_backend", "expert_op4grid_recommender.pypowsybl_backend.simulation_env",