tici: better cleanup in amp test (#29146)

old-commit-hash: ed07c3ceda0b48a62f68a57541f1a9f788c1648d
This commit is contained in:
Adeeb Shihadeh
2023-07-25 21:41:31 -07:00
committed by GitHub
parent b629ac9057
commit f5dc651c0a
+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')