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__':