mirror of
https://github.com/trezor/trezor-firmware.git
synced 2026-03-22 07:07:20 +01:00
tests: add SD card format feature tests
This commit is contained in:
@@ -160,6 +160,10 @@ class DebugLink:
|
||||
def flash_erase(self, sector):
|
||||
self._call(proto.DebugLinkFlashErase(sector=sector), nowait=True)
|
||||
|
||||
@expect(proto.Success)
|
||||
def erase_sd_card(self, format=True):
|
||||
return self._call(proto.DebugLinkEraseSdCard(format=format))
|
||||
|
||||
|
||||
class NullDebugLink(DebugLink):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user