mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 06:48:16 +00:00
Updated call parameters
This commit is contained in:
parent
e203d2ef53
commit
b96b65e1ce
@ -19,12 +19,12 @@ class TestBasic(unittest.TestCase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
self.debug_transport = config.DEBUG_TRANSPORT(*config.DEBUG_TRANSPORT_ARGS)
|
self.debug_transport = config.DEBUG_TRANSPORT(*config.DEBUG_TRANSPORT_ARGS)
|
||||||
self.transport = config.TRANSPORT(*config.TRANSPORT_ARGS)
|
self.transport = config.TRANSPORT(*config.TRANSPORT_ARGS)
|
||||||
self.bitkey = BitkeyClient(self.transport, DebugLink(self.debug_transport), algo=proto.ELECTRUM)
|
self.bitkey = BitkeyClient(self.transport, DebugLink(self.debug_transport), algo=proto.ELECTRUM, debug=True)
|
||||||
|
|
||||||
self.bitkey.setup_debuglink(pin_correct=True, otp_correct=True)
|
self.bitkey.setup_debuglink(button=True, pin_correct=True, otp_correct=True)
|
||||||
|
|
||||||
self.bitkey.load_device(seed='beyond neighbor scratch swirl embarrass doll cause also stick softly physical nice',
|
self.bitkey.load_device(seed='beyond neighbor scratch swirl embarrass doll cause also stick softly physical nice',
|
||||||
otp=True, pin='1234', spv=True, button=True)
|
otp=True, pin='1234', spv=True)
|
||||||
|
|
||||||
print "Setup finished"
|
print "Setup finished"
|
||||||
print "--------------"
|
print "--------------"
|
||||||
|
@ -24,5 +24,7 @@ class TestSignTx(unittest.TestCase):
|
|||||||
self.debug_transport.close()
|
self.debug_transport.close()
|
||||||
self.transport.close()
|
self.transport.close()
|
||||||
|
|
||||||
|
'''
|
||||||
def test_signtx(self):
|
def test_signtx(self):
|
||||||
print self.bitkey.sign_tx([], [])
|
print self.bitkey.sign_tx([], [])
|
||||||
|
'''
|
Loading…
Reference in New Issue
Block a user