Keep GM planner notification settings in temporary test params

This commit is contained in:
Dom
2026-11-13 19:18:45 -06:00
parent 1c1a3c033c
commit c8c5a5e567
3 changed files with 4 additions and 2 deletions
@@ -121,7 +121,8 @@ def test_gm_traffic_planner_lifecycle_starts_factory_conditional_owner(tmp_path)
pass
sm = Mock()
sm.update.side_effect = EndLoop
with (patch.object(plannerd, 'Params', return_value=params), patch.object(plannerd, 'config_realtime_process'),
with (patch.object(plannerd, 'Params', return_value=params),
patch('openpilot.common.params.Params', return_value=params), patch.object(plannerd, 'config_realtime_process'),
patch.object(plannerd, 'ConditionalPlannerHost') as conditional,
patch.object(plannerd.messaging, 'sub_sock') as sockets,
patch.object(plannerd.messaging, 'SubMaster', return_value=sm) as subscriber,
@@ -31,6 +31,7 @@ def test_gm_traffic_actual_planner_loop_uses_independent_settings_without_condit
called.append(verdict)
raise EndFrame
with (patch.object(plannerd, 'Params', return_value=params),
patch('openpilot.common.params.Params', return_value=params),
patch.object(plannerd, 'config_realtime_process'),
patch.object(plannerd, 'feature_enabled', return_value=False),
patch.object(plannerd, 'feature_requested', side_effect=lambda p, feature: feature == 'conditional'),
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "2e0280db8d36673b26a54a251b00be464315ab204f02e574f4b3c7d682b93e87", "schema_version": 1}
{"protected_inventory_sha256": "bb11ca763bdda9d694127873da2add6032c85a4937908445b5a42dd361fa176b", "schema_version": 1}