From 29d39ffe71a235e51f12ccd903656f7315fac48c Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 31 Jan 2025 23:42:59 -0500 Subject: [PATCH] it's a json now --- selfdrive/ui/tests/test_ui/run.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/selfdrive/ui/tests/test_ui/run.py b/selfdrive/ui/tests/test_ui/run.py index 3007f4e3b1..8eb5eb4fd9 100644 --- a/selfdrive/ui/tests/test_ui/run.py +++ b/selfdrive/ui/tests/test_ui/run.py @@ -1,5 +1,6 @@ from collections import namedtuple import capnp +import json import pathlib import shutil import sys @@ -220,8 +221,12 @@ def setup_settings_trips(click, pm: PubMaster, scroll=None): time.sleep(UI_DELAY) def setup_settings_vehicle(click, pm: PubMaster, scroll=None): - Params().put("CarPlatform", "HONDA_CIVIC_2022") - Params().put("CarPlatformName", "Honda Civic 2022-24") + Params().put("CarPlatformBundle", json.dumps( + { + "platform": "HONDA_CIVIC_2022", + "name": "Honda Civic 2022-24" + } + )) setup_settings_device(click, pm) scroll(-400, 278, 862)