tici: better cleanup in amp test (#29146)

This commit is contained in:
Adeeb Shihadeh
2023-07-25 21:41:31 -07:00
committed by GitHub
parent cae1853ff7
commit ed07c3ceda
+2 -2
View File
@@ -5,7 +5,7 @@ import unittest
import subprocess
from panda import Panda
from system.hardware import TICI
from system.hardware import TICI, HARDWARE
from system.hardware.tici.hardware import Tici
from system.hardware.tici.amplifier import Amplifier
@@ -26,7 +26,7 @@ class TestAmplifier(unittest.TestCase):
self.panda.reset()
def tearDown(self):
self.panda.reset(reconnect=False)
HARDWARE.reset_internal_panda()
def _check_for_i2c_errors(self, expected):
dmesg = subprocess.check_output("dmesg", shell=True, encoding='utf8')