|
|
|
@ -19,12 +19,12 @@ class TestBasic(unittest.TestCase):
|
|
|
|
|
def setUp(self):
|
|
|
|
|
self.debug_transport = config.DEBUG_TRANSPORT(*config.DEBUG_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',
|
|
|
|
|
otp=True, pin='1234', spv=True, button=True)
|
|
|
|
|
otp=True, pin='1234', spv=True)
|
|
|
|
|
|
|
|
|
|
print "Setup finished"
|
|
|
|
|
print "--------------"
|
|
|
|
|