tici: better cleanup in amp test (#29146)

old-commit-hash: ed07c3ceda
beeps
Adeeb Shihadeh 2 years ago committed by GitHub
parent b629ac9057
commit f5dc651c0a
  1. 4
      system/hardware/tici/tests/test_amplifier.py

@ -5,7 +5,7 @@ import unittest
import subprocess import subprocess
from panda import Panda 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.hardware import Tici
from system.hardware.tici.amplifier import Amplifier from system.hardware.tici.amplifier import Amplifier
@ -26,7 +26,7 @@ class TestAmplifier(unittest.TestCase):
self.panda.reset() self.panda.reset()
def tearDown(self): def tearDown(self):
self.panda.reset(reconnect=False) HARDWARE.reset_internal_panda()
def _check_for_i2c_errors(self, expected): def _check_for_i2c_errors(self, expected):
dmesg = subprocess.check_output("dmesg", shell=True, encoding='utf8') dmesg = subprocess.check_output("dmesg", shell=True, encoding='utf8')

Loading…
Cancel
Save