Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(20) | Call(0) | Derive(20) | Import(0)
src/p/y/python-trezor-HEAD/tests/test_zerosig.py python-trezor(Download)
class TestZeroSig(common.TrezorTest): ''' def test_mine_zero_signature(self): # tx: d5f65ee80147b4bcc70b75e4bbf2d7382021b871bd8867ef8fa525ef50864882
src/p/y/python-trezor-HEAD/tests/test_protect_call.py python-trezor(Download)
class TestProtectCall(common.TrezorTest): def _some_protected_call(self, button, pin, passphrase): # This method perform any call which have protection in the device res = self.client.ping('random data', button_protection=button,
src/p/y/python-trezor-HEAD/tests/test_protection_levels.py python-trezor(Download)
class TestProtectionLevels(common.TrezorTest): # Tests protection levels of all messages as defined here: # https://github.com/trezor/documentation/wiki/Protection-Levels def test_initialize(self):
src/p/y/python-trezor-HEAD/tests/test_msg_wipedevice.py python-trezor(Download)
class TestDeviceWipe(common.TrezorTest): def test_wipe_device(self): self.setup_mnemonic_pin_passphrase() features = self.client.call_raw(proto.Initialize())
src/p/y/python-trezor-HEAD/tests/test_msg_simplesigntx.py python-trezor(Download)
class TestMsgSimplesigntx(common.TrezorTest): def test_one_one_fee(self): self.setup_mnemonic_nopin_nopassphrase()
src/p/y/python-trezor-HEAD/tests/test_msg_signtx.py python-trezor(Download)
class TestMsgSigntx(common.TrezorTest): def test_one_one_fee(self): self.setup_mnemonic_nopin_nopassphrase() # tx: d5f65ee80147b4bcc70b75e4bbf2d7382021b871bd8867ef8fa525ef50864882
src/p/y/python-trezor-HEAD/tests/test_msg_signmessage.py python-trezor(Download)
class TestMsgSignmessage(common.TrezorTest): def test_sign(self): self.setup_mnemonic_nopin_nopassphrase() sig = self.client.sign_message('Bitcoin', [0], "This is an example of a signed message.")
src/p/y/python-trezor-HEAD/tests/test_msg_resetdevice.py python-trezor(Download)
class TestDeviceReset(common.TrezorTest): def test_reset_device(self): # No PIN, no passphrase external_entropy = 'zlutoucky kun upel divoke ody' * 2 strength = 128
src/p/y/python-trezor-HEAD/tests/test_msg_recoverydevice.py python-trezor(Download)
class TestDeviceRecovery(common.TrezorTest): def test_pin_passphrase(self): mnemonic = self.mnemonic12.split(' ') ret = self.client.call_raw(proto.RecoveryDevice(word_count=12, passphrase_protection=True,
src/p/y/python-trezor-HEAD/tests/test_msg_ping.py python-trezor(Download)
class TestPing(common.TrezorTest): def test_ping(self): self.setup_mnemonic_pin_passphrase()
1 | 2 Next