mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 21:38:26 +00:00
update test_msg_getentropy.py
This commit is contained in:
parent
6f092f323b
commit
530954acdc
@ -45,7 +45,7 @@ class TestMsgGetentropy(common.TrezorTest):
|
||||
with self.client:
|
||||
self.client.set_expected_responses([proto.ButtonRequest(code=proto_types.ButtonRequest_ProtectCall), proto.Entropy()])
|
||||
ent = self.client.get_entropy(l)
|
||||
self.assertTrue(len(ent) >= l)
|
||||
self.assertTrue(len(ent) == l)
|
||||
print('entropy = ', entropy(ent))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
Reference in New Issue
Block a user