Skip to content

Commit 134376f

Browse files
committed
spacing!
1 parent 328cbee commit 134376f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/safety/test_tesla.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
MSG_APS_eacMonitor = 0x27d
1212
MSG_DAS_Control = 0x2b9
1313

14+
1415
class TestTeslaSafetyBase(common.PandaCarSafetyTest):
1516
RELAY_MALFUNCTION_ADDRS = {0: (MSG_DAS_steeringControl, MSG_APS_eacMonitor)}
1617
FWD_BLACKLISTED_ADDRS = {2: [MSG_DAS_steeringControl, MSG_APS_eacMonitor]}
@@ -59,6 +60,7 @@ def _long_control_msg(self, set_speed, acc_val=0, jerk_limits=(0, 0), accel_limi
5960
}
6061
return self.packer.make_can_msg_panda("DAS_control", bus, values)
6162

63+
6264
class TestTeslaStockSafety(TestTeslaSafetyBase):
6365
# Angle control limits
6466
DEG_TO_CAN = 10
@@ -81,6 +83,7 @@ def _angle_meas_msg(self, angle: float):
8183
values = {"EPAS3S_internalSAS": angle}
8284
return self.packer.make_can_msg_panda("EPAS3S_sysStatus", 0, values)
8385

86+
8487
class TestTeslaLongitudinalSafety(TestTeslaSafetyBase):
8588
RELAY_MALFUNCTION_ADDRS = {0: (MSG_DAS_steeringControl, MSG_APS_eacMonitor, MSG_DAS_Control)}
8689
FWD_BLACKLISTED_ADDRS = {2: [MSG_DAS_steeringControl, MSG_APS_eacMonitor, MSG_DAS_Control]}

0 commit comments

Comments
 (0)