tici: reset panda state in amp test setup (#29237)

old-commit-hash: e3ca9f3e853e82ddcd22912405dc4c7fdb955600
This commit is contained in:
Adeeb Shihadeh
2023-08-04 15:07:01 -07:00
committed by GitHub
parent 8b08ba1166
commit 4e047635d7

View File

@@ -21,9 +21,9 @@ class TestAmplifier(unittest.TestCase):
# clear dmesg
subprocess.check_call("sudo dmesg -C", shell=True)
HARDWARE.reset_internal_panda()
Panda.wait_for_panda(None, 30)
self.panda = Panda()
self.panda.reset()
def tearDown(self):
HARDWARE.reset_internal_panda()