mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 20:12:07 +08:00
3c25760cc9
1282e8f5a cap libusb1 version in setup (#183) 64bcc89a9 Subaru: 545 msg must be generated 9159df9a5 Merge branch '0.5.10-chyrsler' f8ab74a1c L-line relay (#166) 11c4cdcc4 Cleanup leftover jenkins command 22572d949 Fix Jenkins build dockerfiles with same name 1d2f8f0ab Jenkins (#179) f383eee96 Power saving: wake on RX and don't print durint IRQ 9540db744 Chrysler safety: better to mention messages we don't want to forward 104950264 chrysler: forward bus 0 to bus 2 (#177) 4276c380e Additional Power saving (#170) git-subtree-dir: panda git-subtree-split: 1282e8f5a0904b1aaa50f382db2e27f20e74a154
16 lines
344 B
Python
16 lines
344 B
Python
import os
|
|
from panda import Panda
|
|
from helpers import panda_color_to_serial, test_white_and_grey
|
|
|
|
@test_white_and_grey
|
|
@panda_color_to_serial
|
|
def test_recover(serial=None):
|
|
p = Panda(serial=serial)
|
|
assert p.recover(timeout=30)
|
|
|
|
@test_white_and_grey
|
|
@panda_color_to_serial
|
|
def test_flash(serial=None):
|
|
p = Panda(serial=serial)
|
|
p.flash()
|