tici: better cleanup in amp test (#29146)

pull/214/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent cae1853ff7
commit ed07c3ceda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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