1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 19:08:07 +00:00
trezor-firmware/tests/config.py

22 lines
643 B
Python
Raw Normal View History

2012-11-15 20:05:57 +00:00
import sys
sys.path = ['../',] + sys.path
from bitkeylib.transport_pipe import PipeTransport
2013-04-05 15:13:57 +00:00
from bitkeylib.transport_hid import HidTransport
from bitkeylib.transport_socket import SocketTransportClient
2012-11-15 20:05:57 +00:00
TRANSPORT = PipeTransport
TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor', False)
#TRANSPORT = HidTransport
#TRANSPORT_ARGS = ('0x10c4:0xea80:000868D3', False)
2013-04-05 15:13:57 +00:00
#TRANSPORT = SocketTransportClient
#TRANSPORT_ARGS = ('trezor.dyn:3000', False)
2012-11-15 20:05:57 +00:00
DEBUG_TRANSPORT = PipeTransport
DEBUG_TRANSPORT_ARGS = ('../../trezor-emu/pipe.trezor_debug', False)
#DEBUG_TRANSPORT = SocketTransportClient
#DEBUG_TRANSPORT_ARGS = ('trezor.dyn:2000', False)