mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 16:02:14 +08:00
14 lines
304 B
Python
14 lines
304 B
Python
import os
|
|
from panda import Panda
|
|
from helpers import panda_type_to_serial, test_white_and_grey, test_all_pandas, panda_connect_and_init
|
|
|
|
@test_all_pandas
|
|
@panda_connect_and_init
|
|
def test_recover(p):
|
|
assert p.recover(timeout=30)
|
|
|
|
@test_all_pandas
|
|
@panda_connect_and_init
|
|
def test_flash(p):
|
|
p.flash()
|