mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 11:32:21 +08:00
dba8e01e54
git-subtree-dir: panda git-subtree-split: ae816c104a99a8cd4d508ccd6abdc7b93053529c
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()
|