mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-14 09:20:55 +00:00
trezor.io: rework for new structure
This commit is contained in:
parent
acb68dc429
commit
ce6dca8ed5
@ -1 +1,2 @@
|
||||
import trezorconfig as config
|
||||
import trezorio as io
|
||||
|
@ -1 +0,0 @@
|
||||
from trezorio import SDCard
|
12
tests/test_trezor.io.py
Normal file
12
tests/test_trezor.io.py
Normal file
@ -0,0 +1,12 @@
|
||||
from common import *
|
||||
|
||||
from trezor import io
|
||||
|
||||
class TestIo(unittest.TestCase):
|
||||
|
||||
def test_sdcard(self):
|
||||
sd = io.SDCard()
|
||||
sd.present()
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Loading…
Reference in New Issue
Block a user