Enable driving in learning regression fixtures

This commit is contained in:
firestar5683
2026-11-06 21:46:34 -06:00
parent 31695937b3
commit e1e3be94fe
2 changed files with 2 additions and 1 deletions
@@ -200,6 +200,7 @@ def controls_for(cp, mode=None, enabled=False):
mock.patch('openpilot.selfdrive.controls.controlsd.messaging.PubMaster'),
):
params = Params()
params.put_bool('OpenpilotEnabledToggle', True, block=True)
selected = published_cp(cp, params)
params.put('CarParams', selected.to_bytes(), block=True)
params.put(KEY, replace_preference(None, cp, enabled), block=True)
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "8acccb0360fc00ad084e3c07f4097e471ab0581c642a5fddc9e78090871840cf", "schema_version": 1}
{"protected_inventory_sha256": "b1b32d57b53f664878ae381bd92018b4d4b6b57d6d7f92e465c5ed15aaa09728", "schema_version": 1}