From 8b67e04d7d00322ed5bcbfa52c11d010b36f26b7 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 7 Feb 2025 18:16:50 -0600 Subject: [PATCH] test_models: remove cereal (#34547) rm more --- selfdrive/car/tests/test_models.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/selfdrive/car/tests/test_models.py b/selfdrive/car/tests/test_models.py index 4cea514cf7..c20677c05d 100644 --- a/selfdrive/car/tests/test_models.py +++ b/selfdrive/car/tests/test_models.py @@ -10,15 +10,15 @@ import hypothesis.strategies as st from hypothesis import Phase, given, settings from parameterized import parameterized_class -from cereal import log, car -from openpilot.common.basedir import BASEDIR from opendbc.car import DT_CTRL, gen_empty_fingerprint, structs from opendbc.car.can_definitions import CanData from opendbc.car.car_helpers import FRAME_FINGERPRINT, interfaces from opendbc.car.fingerprints import all_known_cars, MIGRATION from opendbc.car.honda.values import CAR as HONDA, HondaFlags -from opendbc.car.values import Platform +from opendbc.car.structs import car from opendbc.car.tests.routes import non_tested_cars, routes, CarTestRoute +from opendbc.car.values import Platform +from openpilot.common.basedir import BASEDIR from openpilot.selfdrive.pandad import can_capnp_to_list from openpilot.selfdrive.test.helpers import read_segment_list from openpilot.system.hardware.hw import DEFAULT_DOWNLOAD_CACHE_ROOT @@ -28,9 +28,6 @@ from openpilot.tools.lib.route import SegmentName from panda.tests.libpanda import libpanda_py -ButtonType = car.CarState.ButtonEvent.Type -EventName = log.OnroadEvent.EventName -PandaType = log.PandaState.PandaType SafetyModel = car.CarParams.SafetyModel NUM_JOBS = int(os.environ.get("NUM_JOBS", "1"))