From 530954acdc2b3b6b55cc718586e8b8558b51e87b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 8 May 2017 22:10:47 +0200 Subject: [PATCH] update test_msg_getentropy.py --- tests/device_tests/test_msg_getentropy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/device_tests/test_msg_getentropy.py b/tests/device_tests/test_msg_getentropy.py index 63507759c7..d8351bd1a3 100644 --- a/tests/device_tests/test_msg_getentropy.py +++ b/tests/device_tests/test_msg_getentropy.py @@ -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__':