update get_public_key and get_address tests to reflect reality

pull/1/head
Pavol Rusnak 8 years ago
parent fdc3cff1d6
commit 52ad4e9f0d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -52,14 +52,16 @@ class TestProtectionLevels(common.TrezorTest):
def test_get_public_key(self):
with self.client:
self.setup_mnemonic_pin_passphrase()
self.client.set_expected_responses([proto.PassphraseRequest(),
self.client.set_expected_responses([proto.PinMatrixRequest(),
proto.PassphraseRequest(),
proto.PublicKey()])
self.client.get_public_node([])
def test_get_address(self):
with self.client:
self.setup_mnemonic_pin_passphrase()
self.client.set_expected_responses([proto.PassphraseRequest(),
self.client.set_expected_responses([proto.PinMatrixRequest(),
proto.PassphraseRequest(),
proto.Address()])
self.client.get_address('Bitcoin', [])

Loading…
Cancel
Save